PSPDFSignatureManager


@interface PSPDFSignatureManager : NSObject

Manages signature handlers for digital signature creation. Thread safe.

  • Returns all registered signers.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        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 (readonly, nonatomic)
        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()