[]
Returns the OCSP for specified certificate.
public static byte[] GetOCSP(X509Certificate2 certificate, X509Certificate2 parentCertificate, string url)
| 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[] |