Avaya Client Services API Reference (iOS)

- Main Page
- Classes
- Files
- Related Pages

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | Class Methods | Properties | List of all members
CSCertificateInfo Class Reference

Represents X.509 certificate attributes information to be consumed by client applications. More...

`#import <CSCertificateInfo.h>`

Inherits NSObject.

## Instance Methods
(instancetype) | - initWithCertificateSerialNumber:subjectSummary:subjectName:issuerName:notValidBeforeDate:notValidAfterDate:thumbprintSHA1:thumbprintSHA256:subjectAlternativeName:isCACertificate:extension:extendedKeyUsage:
| DEPRECATED since 252.0.0. More...
(instancetype) | - initWithCertificate:
| Creates certificate info from provided certificate SecCertificateRef. More...

## Class Methods
(instancetype) | + certificateInfoForCertificate:
| Creates certificate info from provided certificate SecCertificateRef. More...

## Properties
NSString * | subjectSummary
| Certificate subject summary. More...
NSString * | serialNumber
| Certificate serial number. More...
NSString * | subjectName
| Certificate Subject Name. More...
NSString * | issuerName
| Certificate Issuer Name. More...
NSDate * | notValidBeforeDate
| Local time before which certificate is not valid. More...
NSDate * | notValidAfterDate
| Local time after which certificate is no longer valid. More...
NSString * | thumbprintSHA1
| Certificate hash computed using SHA-1. More...
NSString * | thumbprintSHA256
| Certificate hash computed using SHA-256. More...
NSArray * | subjectAlternativeName
| Subject alternate Name attribute. More...
NSString * | extension
| Certificate extensions represented in one-line format. More...
NSString * | extendedKeyUsage
| Certificate Extended Key Usage Extension property. More...
BOOL | isCACertificate
| Certificate is a CA certificate if set. More...
CSCertificateBasicConstraint * | basicConstraints
| If basic constraint extension is available returns an object describing this extension. More...

## Detailed Description

Represents X.509 certificate attributes information to be consumed by client applications.

## Method Documentation

+ (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.

## Property Documentation

- (CSCertificateBasicConstraint*) basicConstraints
| readnonatomicassign

If basic constraint extension is available returns an object describing this extension.

- (NSString*) extendedKeyUsage
| readnonatomicassign

Certificate Extended Key Usage Extension property.

- (NSString*) extension
| readnonatomicassign

Certificate extensions represented in one-line format.

- (BOOL) isCACertificate
| readnonatomicassign

Certificate is a CA certificate if set.

- (NSString*) issuerName
| readnonatomicassign

Certificate Issuer Name.

- (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:

- CSCertificateInfo.h