<CJGuestInvalidCertDelegate> Protocol Reference

This protocol provides a notification if any of the HTTP requests performed by CJGuestCall encounter an invalid certificate. More...

#import <CJGuestCall.h>

Inherits <NSObject>.

Instance Methods

(void) - onInvalidCert:certSubjectCN:referenceID:invalidReason:subjectCertificateData:intermediateCACertificateData:invalidCertCallback:
 This is called after encountering an invalid certificate in an HTTP request. More...
 

Detailed Description

This protocol provides a notification if any of the HTTP requests performed by CJGuestCall encounter an invalid certificate.

Method Documentation

- (void) onInvalidCert: (NSString *)  certFingerprint
certSubjectCN: (NSString *)  certSubjectCN
referenceID: (NSString *)  referenceID
invalidReason: (NSArray *)  invalidReason
subjectCertificateData: (NSString *)  subjectCertificateData
intermediateCACertificateData: (NSArray *)  intermediateCACertificateData
invalidCertCallback: (id< CJGuestInvalidCertCallback >)  invalidCertCallback 
optional

This is called after encountering an invalid certificate in an HTTP request.

Parameters
certFingerprintThe digital fingerprint of the certificate.
certSubjectCNThe CN subject from the certificate.
referenceIDThe reference ID of the certificate.
invalidReasonA list of reasons of why the certificate is invalid.
subjectCertificateDataAdditional subject information about the certificate.
intermediateCACertificateDataA list of the certificate authorities authorizing the chain of certificates.
invalidCertCallbackThe callback object used to accept or reject the certificate.