PSPDFSignatureFormElement


@interface PSPDFSignatureFormElement : PSPDFFormElement

Signature Form Element.

  • Returns YES if the signature field is digitally signed.

    Note

    This does not mean that the signature is valid.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isSigned;

    Swift

    var isSigned: Bool { get }
  • Signature information.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) PSPDFSignatureInfo *signatureInfo;

    Swift

    var signatureInfo: PSPDFSignatureInfo? { get }
  • Searches the document for an ink signature that overlaps the form element.

    Note

    This can be used as a replacement for a digital signature.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        PSPDFInkAnnotation *overlappingInkSignature;

    Swift

    var overlappingInkSignature: PSPDFInkAnnotation? { get }
  • Returns the biometric properties of this signature with parameters like pressure, time information, or input device or nil if there’s no such information.

    Note

    As the information is encrypted inside the document, it requires the corresponding private key to access it.

    Declaration

    Objective-C

    - (nullable PSPDFSignatureBiometricProperties *)signatureBiometricProperties:
        (nonnull PSPDFPrivateKey *)privateKey;

    Swift

    func signatureBiometricProperties(_ privateKey: PSPDFPrivateKey) -> PSPDFSignatureBiometricProperties?