2 writes to _hCryptMsg
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.cs (2)
18
_hCryptMsg
= hCryptMsg;
27
_hCryptMsg
= null!;
7 references to _hCryptMsg
System.Security.Cryptography.Pkcs (7)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.cs (3)
24
if (
_hCryptMsg
!= null && !
_hCryptMsg
.IsInvalid)
26
_hCryptMsg
.Dispose();
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs (4)
39
ContentInfo contentInfo =
_hCryptMsg
.GetContentInfo();
118
return
_hCryptMsg
.GetContentInfo();
180
bool success = Interop.Crypt32.CryptMsgControl(
_hCryptMsg
, 0, MsgControlType.CMSG_CTRL_DECRYPT, ref decryptPara);
262
if (!Interop.Crypt32.CryptMsgControl(
_hCryptMsg
, 0, MsgControlType.CMSG_CTRL_KEY_AGREE_DECRYPT, ref decryptPara))