1 instantiation of SafeCryptMsgHandle
System.Security (1)
system\security\cryptography\cryptoapi.cs (1)
3134SafeCryptMsgHandle invalidHandle = new SafeCryptMsgHandle(IntPtr.Zero);
45 references to SafeCryptMsgHandle
System.Security (45)
system\security\cryptography\cryptoapi.cs (15)
2006[In] SafeCryptMsgHandle hCryptMsg, 2016[In] SafeCryptMsgHandle hCryptMsg, 2025SafeCryptMsgHandle CryptMsgOpenToDecode( 2037[In] SafeCryptMsgHandle hCryptMsg, 2046[In] SafeCryptMsgHandle hCryptMsg, 2199[In] SafeCryptMsgHandle hCryptMsg, 2208[In] SafeCryptMsgHandle hCryptMsg, 2216SafeCryptMsgHandle CryptMsgOpenToEncode( 2227SafeCryptMsgHandle CryptMsgOpenToEncode( 2588[In] SafeCryptMsgHandle hCryptMsg, 2607[In] SafeCryptMsgHandle hCryptMsg, 2625internal static SafeCryptMsgHandle CryptMsgOpenToEncode( 2648internal static SafeCryptMsgHandle CryptMsgOpenToEncode( 3132internal static SafeCryptMsgHandle InvalidHandle { 3134SafeCryptMsgHandle invalidHandle = new SafeCryptMsgHandle(IntPtr.Zero);
system\security\cryptography\pkcs\envelopedpkcs7.cs (5)
29private SafeCryptMsgHandle m_safeCryptMsgHandle; 106m_safeCryptMsgHandle = SafeCryptMsgHandle.InvalidHandle; 443SafeCryptMsgHandle safeCryptMsgHandle = CAPI.CryptMsgOpenToEncode(CAPI.X509_ASN_ENCODING | CAPI.PKCS_7_ASN_ENCODING, 493private static SafeCryptMsgHandle OpenToDecode (byte[] encodedMessage) { 494SafeCryptMsgHandle safeCryptMsgHandle = null;
system\security\cryptography\pkcs\pkcsmisc.cs (1)
537SafeCryptMsgHandle safeCryptMsgHandle = CAPI.CAPISafe.CryptMsgOpenToDecode(
system\security\cryptography\pkcs\pkcsutils.cs (12)
94internal static unsafe uint GetVersion (SafeCryptMsgHandle safeCryptMsgHandle) { 108internal static unsafe uint GetMessageType (SafeCryptMsgHandle safeCryptMsgHandle) { 122internal static unsafe AlgorithmIdentifier GetAlgorithmIdentifier (SafeCryptMsgHandle safeCryptMsgHandle) { 151internal static unsafe void GetParam (SafeCryptMsgHandle safeCryptMsgHandle, 181internal static unsafe void GetParam (SafeCryptMsgHandle safeCryptMsgHandle, 213internal static unsafe X509Certificate2Collection GetCertificates (SafeCryptMsgHandle safeCryptMsgHandle) { 246internal static byte[] GetContent (SafeCryptMsgHandle safeCryptMsgHandle) { 256internal static Oid GetContentType (SafeCryptMsgHandle safeCryptMsgHandle) { 270internal static byte[] GetMessage (SafeCryptMsgHandle safeCryptMsgHandle) { 279internal static unsafe int GetSignerIndex (SafeCryptMsgHandle safeCrytpMsgHandle, SignerInfo signerInfo, int startIndex) { 333internal static unsafe CryptographicAttributeObjectCollection GetUnprotectedAttributes (SafeCryptMsgHandle safeCryptMsgHandle) { 977internal static unsafe uint AddCertsToMessage (SafeCryptMsgHandle safeCryptMsgHandle, X509Certificate2Collection bagOfCerts, X509Certificate2Collection chainOfCerts) {
system\security\cryptography\pkcs\recipientinfo.cs (4)
372private SafeCryptMsgHandle m_safeCryptMsgHandle; 377m_safeCryptMsgHandle = SafeCryptMsgHandle.InvalidHandle; 383m_safeCryptMsgHandle = SafeCryptMsgHandle.InvalidHandle; 389internal unsafe RecipientInfoCollection (SafeCryptMsgHandle safeCryptMsgHandle) {
system\security\cryptography\pkcs\signedpkcs7.cs (6)
26private SafeCryptMsgHandle m_safeCryptMsgHandle; 69m_safeCryptMsgHandle = SafeCryptMsgHandle.InvalidHandle; 280internal SafeCryptMsgHandle GetCryptMsgHandle() { 296SafeCryptMsgHandle safeCryptMsgHandle = null; 408private static SafeCryptMsgHandle OpenToDecode (byte[] encodedMessage, 412SafeCryptMsgHandle safeCryptMsgHandle = CAPI.CAPISafe.CryptMsgOpenToDecode(
system\security\cryptography\pkcs\signerinfo.cs (2)
531SafeCryptMsgHandle hMsg = m_signedCms.GetCryptMsgHandle(); 729SafeCryptMsgHandle safeCryptMsgHandle = signedCms.GetCryptMsgHandle();