PSPDFSignatureManager

Objective-C


@interface PSPDFSignatureManager : NSObject

Swift

class PDFSignatureManager : NSObject

Manages signature handlers for digital signature creation. Thread safe.

A SignatureViewController allows the user to select from certificates (signers) registered with the signature manager. However, SignatureViewController is only used by PSPDFKit if the Annotations component is enabled in your license from before the introduction of the Electronic Signatures component. Registered signers are not used by the UI of the Electronic Signatures component (SignatureCreationViewController).

  • 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()