ISecurityContextDecryptMessage Method |
Decrypts ciphertext to plaintext.
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax byte[] DecryptMessage(
int messageLength,
byte[] encryptedBytes
)
Function DecryptMessage (
messageLength As Integer,
encryptedBytes As Byte()
) As Byte()
abstract DecryptMessage :
messageLength : int *
encryptedBytes : byte[] -> byte[]
Parameters
- messageLength
- Type: SystemInt32
Number of message bytes. Remaining bytes are the security trailer. - encryptedBytes
- Type: SystemByte
Ciphertext to decrypt.
Return Value
Type:
ByteDecrypted plaintext.
See Also