Class ServerSecureChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
org.eclipse.milo.opcua.stack.core.channel.ServerSecureChannel
- All Implemented Interfaces:
io.netty.util.AttributeMap,SecureChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetDecryptionKeys(ChannelSecurity.SecurityKeys securityKeys) getEncryptionKeys(ChannelSecurity.SecurityKeys securityKeys) voidsetChannelId(long channelId) voidsetChannelSecurity(ChannelSecurity channelSecurity) voidsetKeyPair(KeyPair keyPair) voidsetLocalCertificate(X509Certificate localCertificate) voidsetLocalCertificateChain(X509Certificate[] localCertificateChain) voidsetLocalNonce(ByteString localNonce) voidsetMessageSecurityMode(MessageSecurityMode messageSecurityMode) voidsetRemoteCertificate(byte[] certificateBytes) voidsetRemoteNonce(ByteString remoteNonce) voidsetSecurityPolicy(SecurityPolicy securityPolicy) toString()Methods inherited from class io.netty.util.DefaultAttributeMap
attr, hasAttrMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.stack.core.channel.SecureChannel
getLocalAsymmetricCipherTextBlockSize, getLocalAsymmetricPlainTextBlockSize, getLocalAsymmetricSignatureSize, getLocalCertificateBytes, getLocalCertificateChainBytes, getLocalCertificateThumbprint, getRemoteAsymmetricCipherTextBlockSize, getRemoteAsymmetricPlainTextBlockSize, getRemoteAsymmetricSignatureSize, getRemoteCertificateBytes, getRemoteCertificateChainBytes, getRemoteCertificateThumbprint, getSymmetricBlockSize, getSymmetricEncryptionKeySize, getSymmetricSignatureKeySize, getSymmetricSignatureSize, isAsymmetricEncryptionEnabled, isAsymmetricSigningEnabled, isSymmetricEncryptionEnabled, isSymmetricSigningEnabled
-
Constructor Details
-
ServerSecureChannel
public ServerSecureChannel()
-
-
Method Details
-
setChannelId
public void setChannelId(long channelId) -
setLocalNonce
-
setRemoteNonce
-
setChannelSecurity
-
setKeyPair
-
setLocalCertificate
-
setLocalCertificateChain
-
setRemoteCertificate
- Throws:
UaException
-
setSecurityPolicy
-
setMessageSecurityMode
-
getKeyPair
- Specified by:
getKeyPairin interfaceSecureChannel
-
getLocalCertificate
- Specified by:
getLocalCertificatein interfaceSecureChannel
-
getLocalCertificateChain
- Specified by:
getLocalCertificateChainin interfaceSecureChannel
-
getRemoteCertificate
- Specified by:
getRemoteCertificatein interfaceSecureChannel
-
getRemoteCertificateChain
- Specified by:
getRemoteCertificateChainin interfaceSecureChannel
-
getSecurityPolicy
- Specified by:
getSecurityPolicyin interfaceSecureChannel
-
getMessageSecurityMode
- Specified by:
getMessageSecurityModein interfaceSecureChannel
-
getChannelId
public long getChannelId()- Specified by:
getChannelIdin interfaceSecureChannel
-
getChannelSecurity
- Specified by:
getChannelSecurityin interfaceSecureChannel
-
getEncryptionKeys
- Specified by:
getEncryptionKeysin interfaceSecureChannel
-
getDecryptionKeys
- Specified by:
getDecryptionKeysin interfaceSecureChannel
-
getLocalNonce
- Specified by:
getLocalNoncein interfaceSecureChannel
-
getRemoteNonce
- Specified by:
getRemoteNoncein interfaceSecureChannel
-
toString
-