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