PSPDFDigitalSignatureReference


@interface PSPDFDigitalSignatureReference : NSObject

Note

Requires the PSPDFFeatureMaskDigitalSignatures feature flag.
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFDigitalSignatureReference : NSObject
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFDigitalSignatureReference : NSObject
  • (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 (readonly, nonatomic)
        PSPDFDigitalSignatureReferenceTransformMethod transformMethod;

    Swift

    var transformMethod: PSPDFDigitalSignatureReferenceTransformMethod { 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 (readonly, copy, nonatomic, 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 (readonly, copy, nonatomic, 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 (readonly, copy, nonatomic, 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 (readonly, nonatomic) NSRange digestLocation;

    Swift

    var digestLocation: NSRange { get }