CACertificateNeeded Event
Requests a missing certificate from the user.
Syntax
ANSI (Cross Platform) virtual int FireCACertificateNeeded(CertificateValidatorCACertificateNeededEventParams *e);
typedef struct {
const char *Cert; int reserved; } CertificateValidatorCACertificateNeededEventParams; Unicode (Windows) virtual INT FireCACertificateNeeded(CertificateValidatorCACertificateNeededEventParams *e);
typedef struct {
LPCWSTR Cert; INT reserved; } CertificateValidatorCACertificateNeededEventParams;
- (void)onCACertificateNeeded:(NSString*)cert;
#define EID_CERTIFICATEVALIDATOR_CACERTIFICATENEEDED 9 virtual INT SECUREBLACKBOX_CALL FireCACertificateNeeded(LPSTR &lpszCert);
Remarks
This event is fired when a CA certificate that is needed to validate Cert is not found at any of the available locations. If you have access to the missing certificate, please add it to the KnownCertificates collection to make it available to the validator.
When this event fires, the CurrentCertificate property is assigned with the certificate being validated. It is the CA that issued that certificate that the validator is looking for.