PSPDFSignatureType
Objective-C
enum PSPDFSignatureType : NSUInteger {}
Swift
@frozen enum PDFSignatureType : UInt, @unchecked Sendable
The signature type defines the digital signature format that will be used to sign the document.
-
CMS is a basic signature type and will work for most common situations. This translates to PDF
SubFilter
value ofadbe.pkcs7.detached
.Declaration
Objective-C
PSPDFSignatureTypeCMS
Swift
case CMS = 0
-
PAdES is an advanced digital signature type with support for long term validation (LTV). This translates to PDF
SubFilter
value ofETSI.CAdES.detached
.Declaration
Objective-C
PSPDFSignatureTypePades
Swift
case pades = 1
-
Deprecated. SHA1 is an older signature type which has been deprecated in PDF 2.0. We are not able to sign documents using this type, but it can be checked on validation. This translates to PDF
SubFilter
value ofadbe.pkcs7.sha1
.Declaration
Objective-C
PSPDFSignatureTypeSHA1
Swift
case SHA1 = 2
-
An ETSI_RFC3161 document timestamp signature. Note that this is not the same as a signature (
.CMS
or.pades
) with a timestamp. An RFC3161 document timestamp signature is a special kind of signature where the timestamp itself fills the entire signature, it doesn’t require passing any additional certificates.Declaration
Objective-C
PSPDFSignatureTypeTimestamp
Swift
case timestamp = 3
-
Signature type could not be determined.
Declaration
Objective-C
PSPDFSignatureTypeUnknown
Swift
case unknown = 4