22 references to WinCrypt
Microsoft.DotNet.SignCheckLibrary (22)
Verification\AuthentiCode.cs (16)
75
if (String.Equals(rfc3161Message.ContentInfo.ContentType.Value,
WinCrypt
.szOID_TIMESTAMP_TOKEN, StringComparison.OrdinalIgnoreCase))
111
if (!
WinCrypt
.CryptQueryObject(
112
WinCrypt
.CERT_QUERY_OBJECT_FILE,
114
WinCrypt
.CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED |
WinCrypt
.CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED |
WinCrypt
.CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED,
115
WinCrypt
.CERT_QUERY_FORMAT_FLAG_ALL,
130
if (!
WinCrypt
.CryptMsgGetParam(msg,
WinCrypt
.CMSG_ENCODED_MESSAGE, 0, IntPtr.Zero, ref cbData))
136
if (!
WinCrypt
.CryptMsgGetParam(msg,
WinCrypt
.CMSG_ENCODED_MESSAGE, 0, vData, ref cbData))
153
if (String.Equals(unsignedAttribute.Oid.Value,
WinCrypt
.szOID_RSA_counterSign, StringComparison.OrdinalIgnoreCase))
159
if (String.Equals(signedAttribute.Oid.Value,
WinCrypt
.szOID_RSA_signingTime, StringComparison.OrdinalIgnoreCase))
177
else if (String.Equals(unsignedAttribute.Oid.Value,
WinCrypt
.szOID_RFC3161_counterSign, StringComparison.OrdinalIgnoreCase))
181
else if (String.Equals(unsignedAttribute.Oid.Value,
WinCrypt
.szOID_NESTED_SIGNATURE, StringComparison.OrdinalIgnoreCase))
191
if (String.Equals(nestedUnsignedAttribute.Oid.Value,
WinCrypt
.szOID_RFC3161_counterSign, StringComparison.OrdinalIgnoreCase))
Verification\Jar\JarSignatureFile.cs (2)
259
if (String.Equals(unsignedAttribute.Oid.Value,
WinCrypt
.szOID_SIGNATURE_TIMESTAMP_ATTRIBUTE, StringComparison.OrdinalIgnoreCase))
270
if (String.Equals(sa.Oid.Value,
WinCrypt
.szOID_RSA_signingTime, StringComparison.OrdinalIgnoreCase))
Verification\VsixVerifier.cs (4)
75
isValidTimestampSignature =
WinCrypt
.CryptVerifyTimeStampSignature(binaryTimestamp,
107
WinCrypt
.CryptMemFree(TSContextPtr);
111
WinCrypt
.CertFreeCertificateContext(TSSignerPtr);
115
WinCrypt
.CertCloseStore(StoreHandle, 0);