PSPDFSignatureManager

Objective-C


@interface PSPDFSignatureManager : NSObject

Swift

class PDFSignatureManager : NSObject

Manages signature handlers for digital signature creation. Thread safe.

  • Returns all registered signers.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<PSPDFSigner *> *_Nonnull registeredSigners;

    Swift

    var registeredSigners: [PSPDFSigner] { get }
  • Registers a signer. Registering the same signing object more than once will be ignored.

    Declaration

    Objective-C

    - (void)registerSigner:(nonnull PSPDFSigner *)signer;

    Swift

    func register(_ signer: PSPDFSigner)
  • Removes all registered signers.

    Declaration

    Objective-C

    - (void)clearRegisteredSigners;

    Swift

    func clearRegisteredSigners()
  • Returns the trusted certificate stack. By default, Adobe CA is included in this list.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<PSPDFX509 *> *_Nonnull trustedCertificates;

    Swift

    var trustedCertificates: [PSPDFX509] { get }
  • Adds a trusted certificate to the stack.

    Declaration

    Objective-C

    - (void)addTrustedCertificate:(nonnull PSPDFX509 *)x509;

    Swift

    func addTrustedCertificate(_ x509: PSPDFX509)
  • Removes all trusted certificates from the stack.

    Declaration

    Objective-C

    - (void)clearTrustedCertificates;

    Swift

    func clearTrustedCertificates()