PSPDFX509


@interface PSPDFX509 : 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 -> [PSPDFX509]
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • The public key.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var commonName: String? { get }