3 writes to m_safeCryptMsgHandle
System.Security (3)
system\security\cryptography\pkcs\envelopedpkcs7.cs (3)
106
m_safeCryptMsgHandle
= SafeCryptMsgHandle.InvalidHandle;
178
m_safeCryptMsgHandle
= OpenToDecode(encodedMessage);
456
m_safeCryptMsgHandle
= safeCryptMsgHandle;
25 references to m_safeCryptMsgHandle
System.Security (25)
system\security\cryptography\pkcs\envelopedpkcs7.cs (25)
153
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid) {
156
return new RecipientInfoCollection(
m_safeCryptMsgHandle
);
162
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
165
return PkcsUtils.GetContent(
m_safeCryptMsgHandle
);
173
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid) {
174
m_safeCryptMsgHandle
.Dispose();
181
m_version = (int) PkcsUtils.GetVersion(
m_safeCryptMsgHandle
);
184
Oid contentType = PkcsUtils.GetContentType(
m_safeCryptMsgHandle
);
185
byte[] content = PkcsUtils.GetContent(
m_safeCryptMsgHandle
);
189
m_encryptionAlgorithm = PkcsUtils.GetAlgorithmIdentifier(
m_safeCryptMsgHandle
);
192
m_certificates = PkcsUtils.GetCertificates(
m_safeCryptMsgHandle
);
195
m_unprotectedAttributes = PkcsUtils.GetUnprotectedAttributes(
m_safeCryptMsgHandle
);
258
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
289
if (!CAPI.CryptMsgControl(
m_safeCryptMsgHandle
,
334
if (!CAPI.CryptMsgControl(
m_safeCryptMsgHandle
,
357
PkcsUtils.GetParam(
m_safeCryptMsgHandle
, CAPI.CMSG_CONTENT_PARAM, 0, out pbContent, out cbContent);
360
Oid contentType = PkcsUtils.GetContentType(
m_safeCryptMsgHandle
);
452
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid) {
453
m_safeCryptMsgHandle
.Dispose();
478
if (!CAPI.CAPISafe.CryptMsgUpdate(
m_safeCryptMsgHandle
, encodedContent, (uint) encodedContent.Length, true))