Class AsymmetricSecurityHeader
java.lang.Object
org.eclipse.milo.opcua.stack.core.channel.headers.AsymmetricSecurityHeader
-
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricSecurityHeader(@NonNull String securityPolicyUri, @NonNull ByteString senderCertificate, @NonNull ByteString receiverThumbprint) -
Method Summary
Modifier and TypeMethodDescriptionstatic AsymmetricSecurityHeaderdecode(io.netty.buffer.ByteBuf buffer, EncodingLimits encodingLimits) static voidencode(AsymmetricSecurityHeader header, io.netty.buffer.ByteBuf buffer) boolean@NonNull ByteString@NonNull String@NonNull ByteStringinthashCode()toString()
-
Constructor Details
-
AsymmetricSecurityHeader
public AsymmetricSecurityHeader(@NonNull String securityPolicyUri, @NonNull ByteString senderCertificate, @NonNull ByteString receiverThumbprint) - Parameters:
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.
-
-
Method Details
-
getSecurityPolicyUri
-
getSenderCertificate
-
getReceiverThumbprint
-
equals
-
hashCode
public int hashCode() -
toString
-
encode
-
decode
public static AsymmetricSecurityHeader decode(io.netty.buffer.ByteBuf buffer, EncodingLimits encodingLimits)
-