PSPDFSignatureCertificateSelectionMode
Objective-C
enum PSPDFSignatureCertificateSelectionMode : NSUInteger {}
Swift
@frozen enum SignatureCertificateSelectionMode : UInt, @unchecked Sendable
Defines if certificate management/selection should be allowed for digitally signing a document.
This is only used if your license contains the Digital Signatures component and was originally purchased before the introduction of the Electronic Signatures component in March 2021. If you originally purchased after this date, Digital Signatures does not provide any UI for adding signatures. The Electronic Signatures component does not support selecting certificates.
-
Certificates should always be selectable.
Declaration
Objective-C
PSPDFSignatureCertificateSelectionModeAlways
Swift
case always = 0
-
Certificates should never be selectable.
Declaration
Objective-C
PSPDFSignatureCertificateSelectionModeNever
Swift
case never = 1
-
Certificates should only be selectable if there are available certificates.
Declaration
Objective-C
PSPDFSignatureCertificateSelectionModeIfAvailable
Swift
case ifAvailable = 2