Click or drag to resize

ISecurityContextDecryptMessage Method

Decrypts ciphertext to plaintext.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
byte[] DecryptMessage(
	int messageLength,
	byte[] encryptedBytes
)

Parameters

messageLength
Type: SystemInt32
Number of message bytes. Remaining bytes are the security trailer.
encryptedBytes
Type: SystemByte
Ciphertext to decrypt.

Return Value

Type: Byte
Decrypted plaintext.
See Also