blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal

GDPKI.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2018 BlackBerry Limited. All rights reserved.
00003  *
00004  */
00005 
00006 #import <Foundation/Foundation.h>
00007 
00015 extern NSString* const GDPKINotificationCertificateAdded;
00016 
00024 extern NSString* const GDPKINotificationCertificateRemoved;
00025 
00138 @interface GDPKICertificate : NSObject
00139 
00147 - (instancetype)initWithData:(NSData*)x509;
00148 
00153 @property (atomic, readonly) NSData *binaryX509DER;
00154 
00159 @property (atomic, readonly) NSInteger version;
00160 
00165 @property (atomic, readonly) NSString *serialNumber;
00166 
00171 @property (atomic, readonly) NSString *subjectName;
00172 
00177 @property (atomic, readonly) NSString *subjectAlternativeName;
00178 
00183 @property (atomic, readonly) NSString *issuer;
00184 
00189 @property (atomic, readonly) NSDate *notBeforeDate;
00190 
00195 @property (atomic, readonly) NSDate *notAfterDate;
00196 
00201 @property (atomic, readonly) NSString *keyUsage;
00202 
00203 @end