PSPDFX509

Objective-C


@interface PSPDFX509 : NSObject

Swift

class X509 : NSObject

This class represents a X.509 certificate.

  • Returns a PSPDFX509 instance of the Adobe certification authority.

    Declaration

    Objective-C

    + (nonnull instancetype)adobeCA;

    Swift

    class func adobeCA() -> Self
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    class func certificates(fromPKCS7Data data: Data) throws -> [X509]
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • The public key.

    Declaration

    Objective-C

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

    Swift

    var publicKey: RSAKey { get }
  • The CN entry of this certificate.

    Declaration

    Objective-C

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

    Swift

    var commonName: String? { get }