public class ServerSecureChannel extends io.netty.util.DefaultAttributeMap implements SecureChannel
Constructor and Description |
---|
ServerSecureChannel() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAsymmetricCipherTextBlockSize, getAsymmetricKeyLength, getAsymmetricPlainTextBlockSize, getAsymmetricSignatureSize, getCertificateChainBytes, getLocalAsymmetricCipherTextBlockSize, getLocalAsymmetricPlainTextBlockSize, getLocalAsymmetricSignatureSize, getLocalCertificateBytes, getLocalCertificateChainBytes, getLocalCertificateThumbprint, getRemoteAsymmetricCipherTextBlockSize, getRemoteAsymmetricPlainTextBlockSize, getRemoteAsymmetricSignatureSize, getRemoteCertificateBytes, getRemoteCertificateChainBytes, getRemoteCertificateThumbprint, getSymmetricBlockSize, getSymmetricEncryptionKeySize, getSymmetricSignatureKeySize, getSymmetricSignatureSize, isAsymmetricEncryptionEnabled, isAsymmetricSigningEnabled, isSymmetricEncryptionEnabled, isSymmetricSigningEnabled
public void setChannelId(long channelId)
public void setLocalNonce(ByteString localNonce)
public void setRemoteNonce(ByteString remoteNonce)
public void setChannelSecurity(ChannelSecurity channelSecurity)
public void setKeyPair(KeyPair keyPair)
public void setLocalCertificate(X509Certificate localCertificate)
public void setLocalCertificateChain(X509Certificate[] localCertificateChain)
public void setRemoteCertificate(byte[] certificateBytes) throws UaException
UaException
public void setSecurityPolicy(SecurityPolicy securityPolicy)
public void setMessageSecurityMode(MessageSecurityMode messageSecurityMode)
public KeyPair getKeyPair()
getKeyPair
in interface SecureChannel
public X509Certificate getLocalCertificate()
getLocalCertificate
in interface SecureChannel
public List<X509Certificate> getLocalCertificateChain()
getLocalCertificateChain
in interface SecureChannel
public X509Certificate getRemoteCertificate()
getRemoteCertificate
in interface SecureChannel
public List<X509Certificate> getRemoteCertificateChain()
getRemoteCertificateChain
in interface SecureChannel
public SecurityPolicy getSecurityPolicy()
getSecurityPolicy
in interface SecureChannel
public MessageSecurityMode getMessageSecurityMode()
getMessageSecurityMode
in interface SecureChannel
public long getChannelId()
getChannelId
in interface SecureChannel
public ChannelSecurity getChannelSecurity()
getChannelSecurity
in interface SecureChannel
public ChannelSecurity.SecretKeys getEncryptionKeys(ChannelSecurity.SecurityKeys securityKeys)
getEncryptionKeys
in interface SecureChannel
public ChannelSecurity.SecretKeys getDecryptionKeys(ChannelSecurity.SecurityKeys securityKeys)
getDecryptionKeys
in interface SecureChannel
public ByteString getLocalNonce()
getLocalNonce
in interface SecureChannel
public ByteString getRemoteNonce()
getRemoteNonce
in interface SecureChannel
Copyright © 2020. All rights reserved.