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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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