PSPDFSignerErrorCode
Objective-C
NS_ERROR_ENUM(PSPDFSignerErrorDomain, PSPDFSignerErrorCode) {
/// No error during the signing process.
PSPDFSignerErrorNone = noErr,
/// A signature form element was not found in the document.
PSPDFSignerErrorNoFormElementSet = 0x1,
/// An error occurred while generating the PKCS#7 structure.
PSPDFSignerErrorCannotNotCreatePKCS7 = 0x100,
/// A problem occurred while adding the signature to the PKCS#7.
PSPDFSignerErrorCannotNotAddSignatureToPKCS7 = 0x101,
/// A problem occurred while initializing the PKCS#7 structure.
PSPDFSignerErrorCannotNotInitPKCS7 = 0x102,
/// An error occurred while generating the PKCS#7 signature.
PSPDFSignerErrorCannotGeneratePKCS7Signature = 0x103,
/// A problem occurred while writing the PKCS#7 signature to the document.
PSPDFSignerErrorCannotWritePKCS7Signature = 0x104,
/// The document was signed correctly but couldn't be verified afterwards.
PSPDFSignerErrorCannotVerifySignature = 0x105,
/// The signed document could not be created. Check that you have the necessary permissions for the destination folder.
PSPDFSignerErrorCannotSaveToDestination = 0x106,
/// The sub-filter type specified to create the signature is not supported.
PSPDFSignerErrorUnsupportedSubfilterType = 0x107,
/// Cannot find the signature, either in a new or existing document.
PSPDFSignerErrorCannotFindSignature = 0x108,
/// The attributes could not be signed.
PSPDFSignerErrorCannotSignAttributes = 0x109,
/// The form element could not be signed.
PSPDFSignerErrorCannotSignFormElement = 0x110,
/// The form element is already digitally signed, so it does not make sense to digitally sign it again.
PSPDFSignerErrorCannotSignAlreadySigned = 0x111,
/// The byte range of the document could not be hashed.
PSPDFSignerErrorCouldNotHashDocument = 0x112,
}
Swift
typealias PDFSignerError.Code._ErrorType = PDFSignerError
Undocumented
-
No error during the signing process.
Declaration
Objective-C
PSPDFSignerErrorNone = noErr
Swift
case none = 0
-
A signature form element was not found in the document.
Declaration
Objective-C
PSPDFSignerErrorNoFormElementSet = 0x1
Swift
case noFormElementSet = 1
-
An error occurred while generating the PKCS#7 structure.
Declaration
Objective-C
PSPDFSignerErrorCannotNotCreatePKCS7 = 0x100
Swift
case cannotNotCreatePKCS7 = 256
-
A problem occurred while adding the signature to the PKCS#7.
Declaration
Objective-C
PSPDFSignerErrorCannotNotAddSignatureToPKCS7 = 0x101
Swift
case cannotNotAddSignatureToPKCS7 = 257
-
A problem occurred while initializing the PKCS#7 structure.
Declaration
Objective-C
PSPDFSignerErrorCannotNotInitPKCS7 = 0x102
Swift
case cannotNotInitPKCS7 = 258
-
An error occurred while generating the PKCS#7 signature.
Declaration
Objective-C
PSPDFSignerErrorCannotGeneratePKCS7Signature = 0x103
Swift
case cannotGeneratePKCS7Signature = 259
-
A problem occurred while writing the PKCS#7 signature to the document.
Declaration
Objective-C
PSPDFSignerErrorCannotWritePKCS7Signature = 0x104
Swift
case cannotWritePKCS7Signature = 260
-
The document was signed correctly but couldn’t be verified afterwards.
Declaration
Objective-C
PSPDFSignerErrorCannotVerifySignature = 0x105
Swift
case cannotVerifySignature = 261
-
The signed document could not be created. Check that you have the necessary permissions for the destination folder.
Declaration
Objective-C
PSPDFSignerErrorCannotSaveToDestination = 0x106
Swift
case cannotSaveToDestination = 262
-
The sub-filter type specified to create the signature is not supported.
Declaration
Objective-C
PSPDFSignerErrorUnsupportedSubfilterType = 0x107
Swift
case unsupportedSubfilterType = 263
-
Cannot find the signature, either in a new or existing document.
Declaration
Objective-C
PSPDFSignerErrorCannotFindSignature = 0x108
Swift
case cannotFindSignature = 264
-
The attributes could not be signed.
Declaration
Objective-C
PSPDFSignerErrorCannotSignAttributes = 0x109
Swift
case cannotSignAttributes = 265
-
The form element could not be signed.
Declaration
Objective-C
PSPDFSignerErrorCannotSignFormElement = 0x110
Swift
case cannotSignFormElement = 272
-
The form element is already digitally signed, so it does not make sense to digitally sign it again.
Declaration
Objective-C
PSPDFSignerErrorCannotSignAlreadySigned = 0x111
Swift
case cannotSignAlreadySigned = 273
-
The byte range of the document could not be hashed.
Declaration
Objective-C
PSPDFSignerErrorCouldNotHashDocument = 0x112
Swift
case couldNotHashDocument = 274