Represents X.509 certificate attributes information to be consumed by client applications.
More...
#import <CSCertificateInfo.h>
Inherits NSObject.
Represents X.509 certificate attributes information to be consumed by client applications.
+ (instancetype) certificateInfoForCertificate: |
|
(SecCertificateRef) |
cert |
|
Creates certificate info from provided certificate SecCertificateRef.
API has been porvided since on iOS platfrom there is no system API to fetch certificate information.
- (instancetype) initWithCertificate: |
|
(SecCertificateRef) |
cert |
|
Creates certificate info from provided certificate SecCertificateRef.
API has been porvided since on iOS platfrom there is no system API to fetch certificate information.
- (instancetype) initWithCertificateSerialNumber: |
|
(NSString *) |
serialNumber |
subjectSummary: |
|
(NSString *) |
subjectSummary |
subjectName: |
|
(NSString *) |
subjectName |
issuerName: |
|
(NSString *) |
issuerName |
notValidBeforeDate: |
|
(NSDate *) |
notValidBeforeDate |
notValidAfterDate: |
|
(NSDate *) |
notValidAfterDate |
thumbprintSHA1: |
|
(NSString *) |
thumbprintSHA1 |
thumbprintSHA256: |
|
(NSString *) |
thumbprintSHA256 |
subjectAlternativeName: |
|
(NSArray *) |
subjectAlternativeName |
isCACertificate: |
|
(BOOL) |
isCACertificate |
extension: |
|
(NSString *) |
extension |
extendedKeyUsage: |
|
(NSString *) |
extendedKeyUsage |
|
|
| |
DEPRECATED since 252.0.0.
If basic constraint extension is available returns an object describing this extension.
- (NSString*) extendedKeyUsage |
|
readnonatomicassign |
Certificate Extended Key Usage Extension property.
Certificate extensions represented in one-line format.
Certificate is a CA certificate if set.
- (NSDate*) notValidAfterDate |
|
readnonatomicassign |
Local time after which certificate is no longer valid.
- (NSDate*) notValidBeforeDate |
|
readnonatomicassign |
Local time before which certificate is not valid.
- (NSString*) serialNumber |
|
readnonatomicassign |
Certificate serial number.
- (NSArray*) subjectAlternativeName |
|
readnonatomicassign |
Subject alternate Name attribute.
- (NSString*) subjectName |
|
readnonatomicassign |
Certificate Subject Name.
- (NSString*) subjectSummary |
|
readnonatomicassign |
Certificate subject summary.
Simple string represents a human understandable certificate subject summary.
- (NSString*) thumbprintSHA1 |
|
readnonatomicassign |
Certificate hash computed using SHA-1.
- (NSString*) thumbprintSHA256 |
|
readnonatomicassign |
Certificate hash computed using SHA-256.
The documentation for this class was generated from the following file: