MIMEKIT MultipartSigned.Verify 如何禁用证书吊销列表检查?
MIMEKIT MultipartSigned.Verify How can I disable Certificate Revocation list ceck?
在使用 MimeKit.Cryptography.MultipartSigned.Verify 时,是否可以禁用 证书吊销列表检查?
发送给我的一方似乎无法获得正确的 CRL 分发点,我想简单地禁用检查。
System.Security.Cryptography.CryptographicException: The revocation function was unable to check revocation because the revocation server was offline.
at System.Security.Cryptography.Pkcs.SignerInfo.Verify(X509Certificate2CollectionextraStore,X509Certificate2 certificate, Boolean verifySignatureOnly)
at System.Security.Cryptography.Pkcs.SignerInfo.CheckSignature(X509Certificate2Collection extraStore, Boolean verifySignatureOnly)
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
--- End of inner exception stack trace ---
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
您是否尝试过将 verifySignatureOnly: true
传递给 Verify() 方法?
在使用 MimeKit.Cryptography.MultipartSigned.Verify 时,是否可以禁用 证书吊销列表检查?
发送给我的一方似乎无法获得正确的 CRL 分发点,我想简单地禁用检查。
System.Security.Cryptography.CryptographicException: The revocation function was unable to check revocation because the revocation server was offline.
at System.Security.Cryptography.Pkcs.SignerInfo.Verify(X509Certificate2CollectionextraStore,X509Certificate2 certificate, Boolean verifySignatureOnly)
at System.Security.Cryptography.Pkcs.SignerInfo.CheckSignature(X509Certificate2Collection extraStore, Boolean verifySignatureOnly)
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
--- End of inner exception stack trace ---
at MimeKit.Cryptography.WindowsSecureMimeDigitalSignature.Verify(Boolean verifySignatureOnly)
您是否尝试过将 verifySignatureOnly: true
传递给 Verify() 方法?