PSPDFX509


@interface PSPDFX509 : NSObject

This class represents a X.509 certificate.

  • The Adobe certification authority.

    Declaration

    Objective-C

    + (nonnull instancetype)adobeCA;

    Swift

    class func adobeCA() -> Self
  • Initializes the certificate from certificate data.

    Declaration

    Objective-C

    + (nullable NSArray<PSPDFX509 *> *)
    certificatesFromPKCS7Data:(nonnull NSData *)data
                        error:(NSError *_Nullable *_Nullable)error;

    Swift

    class func certificates(fromPKCS7Data data: Data) throws -> [PSPDFX509]
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFX509 : NSObject
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFX509 : NSObject
  • The public key.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFRSAKey *_Nonnull publicKey;

    Swift

    var publicKey: PSPDFRSAKey { get }
  • The CN entry.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *commonName;

    Swift

    var commonName: String? { get }