PSPDFSignatureStore

Objective-C

@protocol PSPDFSignatureStore <NSObject, NSSecureCoding>

Swift

protocol SignatureStore : NSSecureCoding, NSObjectProtocol

Securely stores ink signatures in the keychain. Supports NSSecureCoding since this is part of the PSPDFConfiguration object.

  • 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
  • Designated initializer. storeName can be used to differentiate between different stores.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStoreName:(nonnull NSString *)storeName;

    Swift

    init(storeName: String)
  • Add signature to store.

    Declaration

    Objective-C

    - (void)addSignature:(nonnull PSPDFSignatureContainer *)signature;

    Swift

    func addSignature(_ signature: SignatureContainer)
  • Remove signature from store.

    Declaration

    Objective-C

    - (BOOL)removeSignature:(nonnull PSPDFSignatureContainer *)signature;

    Swift

    func removeSignature(_ signature: SignatureContainer) -> Bool
  • Access the saved signatures (PSPDFSignatureContainer objects).

    Declaration

    Objective-C

    @property (nonatomic, copy, null_resettable) NSArray<PSPDFSignatureContainer *> *signatures;

    Swift

    var signatures: [SignatureContainer]! { get set }
  • The store name used for the keychain storage.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull storeName;

    Swift

    var storeName: String { get }