Discuss this help topic in SecureBlackbox Forum
This event is fired when certificate status must be checked.
Declaration
[Java]
TSBCertificateOCSPCheckEvent getOnCertificateCheck();
void setOnCertificateCheck(TSBCertificateOCSPCheckEvent Value);
TSBCertificateOCSPCheckEvent.Callback OnCertificateCheck = new TSBCertificateOCSPCheckEvent.Callback() {
public void TSBCertificateOCSPCheckEventCallback(TObject arg0, byte[] arg1, byte[] arg2, byte[] arg3, byte[] arg4, TElCertificateOCSPCheckParams arg5) {
//...
}
}
Parameters
- HashAlgOID - OID of the hash algorithm, used to create IssuerNameHash and IssuerKeyHash
- IssuerNameHash - hash of the IssuerName field of the certificate, being verified
- IssuerKeyHash - hash of the public key of the certificate, which was used to sign the certificate being verified
- CertificateSerial - serial of the certificate being verified
- CertStatus - certificate status
- Reason - reason of certificate revocation
- RevocationTime - time when the certificate was revoked
- ThisUpdate - time of the current status update
- NextUpdate - time of the next status update
- pHashAlgOID -
- szHashAlgOID - the length of pcHashAlgOID.
- pIssuerNameHash -
- szIssuerNameHash - the length of pcIssuerNameHash.
- pIssuerKeyHash -
- szIssuerKeyHash - the length of pcIssuerKeyHash.
- pCertificateSerial -
- szCertificateSerial - the length of pcCertificateSerial.
Possible values of certificate status:
Possible values of CRL reason flags:
Description
This event is fired for each certificate from the request.
In response to this event you need to provide certificate status and other parameters necessary for the OCSP response.
Discuss this help topic in SecureBlackbox Forum