ROCertificateInfo

Overview

This class is used to describe a server certificate when a HTTP based client channel attempts to establish SSL connection with a server.

Location


 

certificateInfoWithURLAuthenticationChallenge:

This method is used internally to create a ROCertificateInfo class instance based on native challenge object provided by the operating system.

+ (id) certificateInfoWithURLAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge

Parameters:

  • challenge:

data

The certificate raw binary data.

@property (readonly) NSData *data

expiration

Expiration date of the certificate.

@property (readonly) NSDate *expiration

expired

Indicates if the certificate is expired.

@property (readonly) BOOL expired

issuer

The certificate issuer name.

@property (readonly) NSString *issuer

sha1

The certificate SHA1 fingerprint in the binary form.

@property (readonly) NSData *sha1

sha1String

The certificate SHA1 fingerprint in the string form.

- (NSString *) sha1String

subject

@property (readonly) NSString *subject

 

data

The certificate raw binary data.

@property (readonly) NSData *data

expiration

Expiration date of the certificate.

@property (readonly) NSDate *expiration

expired

Indicates if the certificate is expired.

@property (readonly) BOOL expired

issuer

The certificate issuer name.

@property (readonly) NSString *issuer

sha1

The certificate SHA1 fingerprint in the binary form.

@property (readonly) NSData *sha1

subject

@property (readonly) NSString *subject

 

certificateInfoWithURLAuthenticationChallenge:

This method is used internally to create a ROCertificateInfo class instance based on native challenge object provided by the operating system.

+ (id) certificateInfoWithURLAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge

Parameters:

  • challenge:

 

sha1String

The certificate SHA1 fingerprint in the string form.

- (NSString *) sha1String