In This Topic
Returns the OCSP for specified certificate.
Syntax
'Declaration
Public Shared Function GetOCSP( _
ByVal As System.Security.Cryptography.X509Certificates.X509Certificate2, _
ByVal As System.Security.Cryptography.X509Certificates.X509Certificate2, _
ByVal As System.String _
) As System.Byte()
public static System.byte[] GetOCSP(
System.Security.Cryptography.X509Certificates.X509Certificate2 ,
System.Security.Cryptography.X509Certificates.X509Certificate2 ,
System.string
)
Parameters
- certificate
- The certificate to check.
- parentCertificate
- The parent certificate.
- url
- The OCSP URL, can be null, in this case it will be obtained from if possible.
See Also