3 instantiations of SafeCryptProvHandle
System.Security (3)
system\security\cryptography\cryptoapi.cs (1)
3011
SafeCryptProvHandle invalidHandle = new
SafeCryptProvHandle
(IntPtr.Zero);
system\security\cryptography\pkcs\pkcsutils.cs (2)
844
safeCryptProvHandle = new
SafeCryptProvHandle
(hKey, safeCertContextHandle);
893
safeCryptProvHandle = new
SafeCryptProvHandle
(hKey, freeCsp);
27 references to SafeCryptProvHandle
System.Security (27)
system\security\cryptography\cryptoapi.cs (8)
1327
internal
SafeCryptProvHandle
hCryptProv;
1996
[In]
SafeCryptProvHandle
hProv,
2130
[In,Out] ref
SafeCryptProvHandle
hCryptProv,
2186
[In]
SafeCryptProvHandle
hProv,
2482
[In,Out] ref
SafeCryptProvHandle
hCryptProv,
2521
ref
SafeCryptProvHandle
hCryptProv,
3009
internal static
SafeCryptProvHandle
InvalidHandle {
3011
SafeCryptProvHandle
invalidHandle = new SafeCryptProvHandle(IntPtr.Zero);
system\security\cryptography\pkcs\envelopedpkcs7.cs (6)
40
internal
SafeCryptProvHandle
safeCryptProvHandle;
47
internal
SafeCryptProvHandle
safeCryptProvHandle;
569
SafeCryptProvHandle
safeCryptProvHandle;
593
encryptParam.safeCryptProvHandle =
SafeCryptProvHandle
.InvalidHandle;
597
SafeCryptProvHandle
hCryptProv =
SafeCryptProvHandle
.InvalidHandle;
system\security\cryptography\pkcs\pkcsutils.cs (10)
74
internal static unsafe int GetMaxKeyLength (
SafeCryptProvHandle
safeCryptProvHandle, uint algId) {
706
internal static CAPI.CMSG_SIGNER_ENCODE_INFO CreateSignerEncodeInfo (CmsSigner signer, out
SafeCryptProvHandle
hProv) {
713
internal static unsafe CAPI.CMSG_SIGNER_ENCODE_INFO CreateSignerEncodeInfo (CmsSigner signer, bool silent, out
SafeCryptProvHandle
hProv) {
716
SafeCryptProvHandle
safeCryptProvHandle =
SafeCryptProvHandle
.InvalidHandle;
830
internal static int GetCertPrivateKey(SafeCertContextHandle safeCertContextHandle, out
SafeCryptProvHandle
safeCryptProvHandle, out uint keySpec) {
857
SafeCryptProvHandle
provHandle =
SafeCryptProvHandle
.InvalidHandle;
1042
SafeCryptProvHandle
hProv =
SafeCryptProvHandle
.InvalidHandle;
system\security\cryptography\pkcs\signedpkcs7.cs (2)
298
SafeCryptProvHandle
safeCryptProvHandle;
372
SafeCryptProvHandle
safeCryptProvHandle;
system\security\cryptography\pkcs\signerinfo.cs (1)
304
SafeCryptProvHandle
safeCryptProvHandle;