RGLPKDCertificate

Objective-C

@interface RGLPKDCertificate : NSObject

@property(nonatomic, strong, readonly, nonnull) NSData *binaryData;
@property(nonatomic, assign, readonly) RGLPKDResourceType resourceType;
@property(nonatomic, strong, readonly, nullable) NSData *privateKey;

- (instancetype _Nonnull)initWithBinaryData:(NSData * _Nonnull)binaryData
                               resourceType:(RGLPKDResourceType)resourceType
                                 privateKey:(NSData *_Nullable)privateKey;

@end

Swift

class PKDCertificate : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, readonly, nonnull) NSData *binaryData

    Swift

    var binaryData: Data { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign, readonly) RGLPKDResourceType resourceType

    Swift

    var resourceType: PKDResourceType { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, strong, readonly, nullable) NSData *privateKey

    Swift

    var privateKey: Data? { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithBinaryData:(NSData * _Nonnull)binaryData
                                   resourceType:(RGLPKDResourceType)resourceType
                                     privateKey:(NSData *_Nullable)privateKey;

    Swift

    init(binaryData: Data, resourceType: PKDResourceType, privateKey: Data?)