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