4 writes to m_safeCryptMsgHandle
System.Security (4)
system\security\cryptography\pkcs\signedpkcs7.cs (4)
69
m_safeCryptMsgHandle
= SafeCryptMsgHandle.InvalidHandle;
143
m_safeCryptMsgHandle
= OpenToDecode(encodedMessage, this.ContentInfo, this.Detached);
290
m_safeCryptMsgHandle
= OpenToDecode(encodedMessage, this.ContentInfo, this.Detached);
366
m_safeCryptMsgHandle
= safeCryptMsgHandle;
39 references to m_safeCryptMsgHandle
System.Security (39)
system\security\cryptography\pkcs\signedpkcs7.cs (39)
86
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
89
return (int) PkcsUtils.GetVersion(
m_safeCryptMsgHandle
);
108
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid) {
111
return PkcsUtils.GetCertificates(
m_safeCryptMsgHandle
);
118
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid) {
128
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
131
return PkcsUtils.GetMessage(
m_safeCryptMsgHandle
);
139
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid) {
140
m_safeCryptMsgHandle
.Dispose();
145
Oid contentType = PkcsUtils.GetContentType(
m_safeCryptMsgHandle
);
146
byte[] content = PkcsUtils.GetContent(
m_safeCryptMsgHandle
);
173
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid)
205
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid) {
217
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
224
if (!CAPI.CAPISafe.CryptMsgGetParam(
m_safeCryptMsgHandle
,
234
if (!CAPI.CryptMsgControl(
m_safeCryptMsgHandle
,
247
RemoveSignature(PkcsUtils.GetSignerIndex(
m_safeCryptMsgHandle
, signerInfo, 0));
256
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
268
if (
m_safeCryptMsgHandle
== null ||
m_safeCryptMsgHandle
.IsInvalid)
281
return
m_safeCryptMsgHandle
;
286
byte[] encodedMessage = PkcsUtils.GetMessage(
m_safeCryptMsgHandle
);
287
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid) {
288
m_safeCryptMsgHandle
.Dispose();
363
if (
m_safeCryptMsgHandle
!= null && !
m_safeCryptMsgHandle
.IsInvalid) {
364
m_safeCryptMsgHandle
.Dispose();
383
if (!CAPI.CryptMsgControl(
m_safeCryptMsgHandle
,
401
PkcsUtils.AddCertsToMessage(
m_safeCryptMsgHandle
, Certificates, PkcsUtils.CreateBagOfCertificates(signer));