public class AsymmetricSecurityHeader extends Object
| Constructor and Description |
|---|
AsymmetricSecurityHeader(@NotNull String securityPolicyUri,
@NotNull ByteString senderCertificate,
@NotNull ByteString receiverThumbprint) |
| Modifier and Type | Method and Description |
|---|---|
static AsymmetricSecurityHeader |
decode(io.netty.buffer.ByteBuf buffer,
EncodingLimits encodingLimits) |
static void |
encode(AsymmetricSecurityHeader header,
io.netty.buffer.ByteBuf buffer) |
boolean |
equals(Object o) |
@NotNull ByteString |
getReceiverThumbprint() |
@NotNull String |
getSecurityPolicyUri() |
@NotNull ByteString |
getSenderCertificate() |
int |
hashCode() |
String |
toString() |
public AsymmetricSecurityHeader(@NotNull
@NotNull String securityPolicyUri,
@NotNull
@NotNull ByteString senderCertificate,
@NotNull
@NotNull ByteString receiverThumbprint)
securityPolicyUri - the URI of the Security Policy used to secure the Message.senderCertificate - the DER-encoded X509v3 Certificate assigned to the sending Application Instance. This
field shall be null if the Message is not signed.receiverThumbprint - the thumbprint of the X509v3 Certificate assigned to the receiving Application
Instance. The thumbprint is the SHA1 digest of the DER encoded form of the Certificate.
This indicates what public key was used to encrypt the MessageChunk. This field shall
be null if the Message is not encrypted.@NotNull public @NotNull String getSecurityPolicyUri()
@NotNull public @NotNull ByteString getSenderCertificate()
@NotNull public @NotNull ByteString getReceiverThumbprint()
public static void encode(AsymmetricSecurityHeader header, io.netty.buffer.ByteBuf buffer)
public static AsymmetricSecurityHeader decode(io.netty.buffer.ByteBuf buffer, EncodingLimits encodingLimits)
Copyright © 2025. All rights reserved.