'Declaration Public Overloads Function AddVerificationOCSP( _ ByVal signature As Signature, _ ByVal certificate As System.Security.Cryptography.X509Certificates.X509Certificate2, _ ByVal parentCertificate As System.Security.Cryptography.X509Certificates.X509Certificate2, _ ByVal url As System.String _ ) As System.Byte()
public System.byte[] AddVerificationOCSP( Signature signature, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.X509Certificates.X509Certificate2 parentCertificate, System.string url )
Parameters
- signature
- The Signature object.
- certificate
- The certificate for which OCSP is requested.
- parentCertificate
- The parent certificate.
- url
- The OCSP URL. If a null reference (Nothing in Visual Basic), it will be obtained from certificate if possible.
Return Value
The DER-encoded OCSP that was added, or a null reference (Nothing in Visual Basic) if OCSP could not be obtained.