PSPDFDigitalSignatureReference
Objective-C
@interface PSPDFDigitalSignatureReference : NSObject
Swift
class DigitalSignatureReference : NSObject
Note
Requires theFeatures.digitalSignatures
feature flag.
-
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
-
(Required) The name of the transform method (see Section 8.7.1, “Transform Methods”) that guides the object digest computation or modification analysis that takes place when the signature is validated.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFDigitalSignatureReferenceTransformMethod transformMethod;
Swift
var transformMethod: DigitalSignatureReference.TransformMethod { get }
-
(Optional) A dictionary specifying transform parameters (variable data) for the transform method specified by TransformMethod. Each method except Identity takes its own set of parameters. See each of the sections specified above for details on the individual transform parameter dictionaries.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSDictionary<NSString *, id> *transformParams;
Swift
var transformParams: [String : Any]? { get }
-
(Optional) A name identifying the algorithm to be used when computing the digest. Valid values are MD5 and SHA1. (See implementation note 144 in Appendix H.) Default value: MD5.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *digestMethod;
Swift
var digestMethod: String? { get }
-
(Required in some situations) When present, the computed value of the digest. See Section 8.7.1, “Transform Methods, for details on when this entry is required.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *digestValue;
Swift
var digestValue: String? { get }
-
(Required when DigestValue is required and TransformMethod is FieldMDP or DocMDP) An array of two integers specifying the location in the PDF file of the DigestValue string. The integers represent the starting offset and length in bytes, respectively. This entry is required when DigestValue is written directly to the PDF file, bypassing any encryption that has been performed on the document. When specified, the values must be used to read DigestValue directly from the file during validation.
Declaration
Objective-C
@property (nonatomic, readonly) NSRange digestLocation;
Swift
var digestLocation: NSRange { get }