Свойство | Тип | Описание | |
---|---|---|---|
InternalEncryptAndWrapMessage | NetMQMessage | ||
OnCipherSuiteChangeFromHandshakeLayer | void |
Метод | Описание | |
---|---|---|
DecryptApplicationMessage ( [ cipherMessage ) : NetMQMessage |
Decrypt the given NetMQMessage, the first frame of which is assumed to contain the protocol version.
|
|
Dispose ( ) : void |
Release any contained resources of this SecureChannel object. This disposes of the handshake-layer and the record-layer. |
|
EncryptApplicationMessage ( [ plainMessage ) : NetMQMessage |
Encrypt the given NetMQMessage, wrapping it's content as application-data and preficing it with the encryption protocol.
|
|
ProcessMessage ( NetMQMessage incomingMessage, IList |
Process handshake and change cipher suite messages. This method should be called for every incoming message until the method returns true. You cannot encrypt or decrypt messages until the method return true. Each call to the method may include outgoing messages that need to be sent to the other peer. Note: Within this library, this method is ONLY called from within the unit-tests. |
|
SecureChannel ( ConnectionEnd connectionEnd ) : System |
Create a new SecureChannel with the given ConnectionEnd.
|
|
SetVerifyCertificate ( VerifyCertificateDelegate verifyCertificate ) : void |
Assign the delegate to use to verify the X.509 certificate.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Release any contained resources of this SecureChannel object. This disposes of the handshake-layer and the record-layer. |
Метод | Описание | |
---|---|---|
InternalEncryptAndWrapMessage ( ContentType contentType, NetMQMessage plainMessage ) : NetMQMessage | ||
OnCipherSuiteChangeFromHandshakeLayer ( object sender, |
public DecryptApplicationMessage ( [ cipherMessage ) : NetMQMessage | ||
cipherMessage | [ | the NetMQMessage to decrypt |
Результат | NetMQMessage |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | set this to true if disposing of managed resources |
Результат | void |
public EncryptApplicationMessage ( [ plainMessage ) : NetMQMessage | ||
plainMessage | [ | The unencrypted form of the message to be encrypted. |
Результат | NetMQMessage |
public ProcessMessage ( NetMQMessage incomingMessage, IList |
||
incomingMessage | NetMQMessage | the incoming message from the other peer |
outgoingMesssages | IList |
the list of outgoing messages that need to be sent to the other peer |
Результат | bool |
public SecureChannel ( ConnectionEnd connectionEnd ) : System | ||
connectionEnd | ConnectionEnd | the ConnectionEnd that this channel is to talk to |
Результат | System |
public SetVerifyCertificate ( VerifyCertificateDelegate verifyCertificate ) : void | ||
verifyCertificate | VerifyCertificateDelegate | |
Результат | void |