PSPDFSignatureStatus


@interface PSPDFSignatureStatus : NSObject

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

  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFSignatureStatus : NSObject
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFSignatureStatus : NSObject
  • Designated initializer. Initializes a signature status from a given signer name, a signing date, and whether the signature was modified or not.

    Declaration

    Objective-C

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

    Swift

    init(signer: String?, signing date: Date?, wasModified: 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 was modified since the document was signed, NO otherwise

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL wasModified;

    Swift

    var wasModified: 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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) PSPDFSignatureStatusSeverity severity;

    Swift

    var severity: PSPDFSignatureStatusSeverity { get set }
  • 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 }