[]
Returns the OCSP for specified certificate.
public static byte[] GetOCSP(X509Certificate2 certificate, X509Certificate2 parentCertificate, string url)
Public Shared Function GetOCSP(certificate As X509Certificate2, parentCertificate As X509Certificate2, url As String) As Byte()
Type | Name | Description |
---|---|---|
X509Certificate2 | certificate | The certificate to check. |
X509Certificate2 | parentCertificate | The parent certificate. |
string | url | The OCSP URL, can be null, in this case it will be obtained from |
Type | Description |
---|---|
byte[] |