PSPDFSignatureStatus


@interface PSPDFSignatureStatus : NSObject

Represents the status of a digital signature after it has been validated.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Designated initializer. Initializes a signature status from a given signer name, a signing date, and whether the signature covers the entire document, that is, if there are no further changes possibly added by an incremental save to the document.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSigner:(nullable NSString *)signer
                               signingDate:(nullable NSDate *)date
                      coversEntireDocument:(BOOL)coversEntireDocument;

    Swift

    init(signer: String?, signing date: Date?, coversEntireDocument: Bool)
  • The signer name

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *signer;

    Swift

    var signer: String? { get }
  • The signing date

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSDate *signingDate;

    Swift

    var signingDate: Date? { get }
  • Returns YES if the signature covers the entire document, that is, if there are no further changes possibly added by an incremental save to the document. NO otherwise.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL coversEntireDocument;

    Swift

    var coversEntireDocument: Bool { get }
  • Returns an array of problems as text strings

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<NSString *> *_Nonnull problems;

    Swift

    var problems: [String] { get }
  • The status severity (None, if no problems; warning, or error).

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFSignatureStatusSeverity severity;

    Swift

    var severity: PSPDFSignatureStatusSeverity { get }
  • The integrity status of this signature field, that is, if the document that is protected by this signature has been modified and the modification has broken this digital signature.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        PSPDFSignatureIntegrityStatus signatureIntegrityStatus;

    Swift

    var signatureIntegrityStatus: PSPDFSignatureIntegrityStatus { get }
  • Returns a status summary with the specified signer name and signing date

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull summary;

    Swift

    var summary: String { get }