PSPDFSignatureStatus
Objective-C
@interface PSPDFSignatureStatus : NSObject
Swift
class PDFSignatureStatus : NSObject
Represents the status of a digital signature after it has been validated.
-
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. 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 (nonatomic, copy, readonly, nullable) NSString *signer;
Swift
var signer: String? { get }
-
The signing date
Declaration
Objective-C
@property (nonatomic, copy, readonly, 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 (nonatomic, readonly) BOOL coversEntireDocument;
Swift
var coversEntireDocument: Bool { get }
-
Returns an array of problems as text strings
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull problems;
Swift
var problems: [String] { get }
-
The status severity (None, if no problems; warning, or error).
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFSignatureStatusSeverity severity;
Swift
var severity: PDFSignatureStatus.Severity { 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 (nonatomic, readonly) PSPDFSignatureIntegrityStatus signatureIntegrityStatus;
Swift
var signatureIntegrityStatus: PDFSignatureStatus.Integrity { get }
-
Returns a status summary with the specified signer name and signing date
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull summary;
Swift
var summary: String { get }