Digital signatures

  • Note

    Requires the PSPDFFeatureMaskDigitalSignatures feature flag.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFDigitalSignatureReference : NSObject

    Swift

    class PSPDFDigitalSignatureReference : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface PSPDFPKCS12 : NSObject<NSCoding>
    
    PSPDF_EMPTY_INIT_UNAVAILABLE
    
    /// Inits the object with data from a PKCS12 blob
    - (instancetype)initWithData:(NSData *)data NS_DESIGNATED_INITIALIZER;
    
    /// Unlocks the PKCS12 archive and retrieves the certificate and public key.
    - (void)unlockWithPassword:(NSString *)password done:(nullable void (^)(PSPDFX509 *_Nullable x509, PSPDFPrivateKey *_Nullable pk, NSError *_Nullable error))done;
    
    @end

    Swift

    class PSPDFPKCS12 : NSObject, NSCoding
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface PSPDFPrivateKey : NSObject
    
    PSPDF_EMPTY_INIT_UNAVAILABLE
    
    /// The encryption algorithm used in this private key.
    @property (nonatomic, readonly) NSString *encryptionAlgorithm PSPDF_DEPRECATED_IOS(7.4, "Use signatureEncryptionAlgorithm instead.");
    
    /// The encryption algorithm used in this private key.
    @property (nonatomic, readonly) PSPDFSignatureEncryptionAlgorithm signatureEncryptionAlgorithm;
    
    @end

    Swift

    class PSPDFPrivateKey : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface PSPDFRSAKey : NSObject
    
    PSPDF_EMPTY_INIT_UNAVAILABLE
    
    /// The underlying public key scheme.
    @property (nonatomic, readonly) NSString *publicKeyScheme;
    
    /// Returns the approximate length of the security parameter. For example, for RSA this is the size of the modulus.
    @property (nonatomic, readonly) NSInteger keyLength;
    
    @end

    Swift

    class PSPDFRSAKey : NSObject
  • Manages signature handlers for digital signature creation. Thread safe.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignatureManager : NSObject

    Swift

    class PSPDFSignatureManager : NSObject
  • Represents entries in the signature properties. Signatures can have properties that describe how and when they were built.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignaturePropBuild : NSObject

    Swift

    class PSPDFSignaturePropBuild : NSObject
  • Represents one entry in the signature properties.

    Signatures can have properties that describe how and when they were built.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignaturePropBuildEntry : NSObject

    Swift

    class PSPDFSignaturePropBuildEntry : NSObject
  • Represents the status of a digital signature after it has been validated.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignatureStatus : NSObject

    Swift

    class PSPDFSignatureStatus : NSObject
  • This class validates digital signatures in a PDF document. Validation consists of two steps: Checking that the signature integrity is correct (that is, the document was not modified after it was signed), and ensuring that the chain of certificates contained in the signature is trusted.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignatureValidator : NSObject

    Swift

    class PSPDFSignatureValidator : NSObject
  • An instance of PSPDFSignatureBiometricProperties represents properties which add biometric information to a digital signature, for enhanced security. Biometric information includes the input method pressure values, time intervals when the signature was being created, or average touch radius. This information is encrypted and stored inside the PDF document using the signer’s public key, and can be decrypted with the appropriate private key.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFSignatureBiometricProperties : NSObject <NSSecureCoding>

    Swift

    class PSPDFSignatureBiometricProperties : NSObject, NSSecureCoding
  • A PSPDFAnnotationAppearanceStream manages an image to include as part of an annotation appearance (ie. a handwritten signature). Supported filetypes are .JPG and .PDF. For PDF files, the first page of the document is used.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAnnotationAppearanceStream : NSObject

    Swift

    class PSPDFAnnotationAppearanceStream : NSObject
  • This class represents a X.509 certificate.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFX509 : NSObject

    Swift

    class PSPDFX509 : NSObject