public final enum

SigningStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.signatures.SigningStatus

Class Overview

Result of signing operation.

Summary

Enum Values
SigningStatus  CANNOT_ADD_SIGNATURE_TO_PKCS7  A problem ocurred while adding the signature to the PKCS#7 structure. 
SigningStatus  CANNOT_CREATE_PADDING  A problem ocurred constructing the encryption + hash pair for the signature. 
SigningStatus  CANNOT_CREATE_PKCS7_SIGNATURE  A problem ocurred while creating the underlying PKCS#7 structure. 
SigningStatus  CANNOT_FIND_SIGNATURE  Cannot find the signature, either in a new or existing document. 
SigningStatus  CANNOT_GENERATE_PKCS7_SIGNATURE  A problem ocurred while generating the PKCS#7 signature. 
SigningStatus  CANNOT_HASH_DOCUMENT  The document could not be hashed, probably because the byte range is wrong. 
SigningStatus  CANNOT_INIT_PKCS7  A problem ocurred while initializing the PKCS#7 structure. 
SigningStatus  CANNOT_SAVE_TO_DESTINATION  A problem ocurred while saving the signed document to its destination file. 
SigningStatus  CANNOT_SIGN_ATTRIBUTES  The attributes could not be signed. 
SigningStatus  CANNOT_VERIFY_SIGNATURE  A problem ocurred while verifying the signature. 
SigningStatus  CANNOT_WRITE_PKCS7_SIGNATURE  A problem ocurred while writing the PKCS#7 structure to the document. 
SigningStatus  SIGNED  Document was signed correctly. 
SigningStatus  UNSUPPORTED_SUBFILTER_TYPE  The chosen filter subtype is not supported for signing documents. 
Public Methods
static SigningStatus valueOf(String name)
final static SigningStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SigningStatus CANNOT_ADD_SIGNATURE_TO_PKCS7

A problem ocurred while adding the signature to the PKCS#7 structure.

public static final SigningStatus CANNOT_CREATE_PADDING

A problem ocurred constructing the encryption + hash pair for the signature.

public static final SigningStatus CANNOT_CREATE_PKCS7_SIGNATURE

A problem ocurred while creating the underlying PKCS#7 structure.

public static final SigningStatus CANNOT_FIND_SIGNATURE

Cannot find the signature, either in a new or existing document.

public static final SigningStatus CANNOT_GENERATE_PKCS7_SIGNATURE

A problem ocurred while generating the PKCS#7 signature.

public static final SigningStatus CANNOT_HASH_DOCUMENT

The document could not be hashed, probably because the byte range is wrong.

public static final SigningStatus CANNOT_INIT_PKCS7

A problem ocurred while initializing the PKCS#7 structure.

public static final SigningStatus CANNOT_SAVE_TO_DESTINATION

A problem ocurred while saving the signed document to its destination file.

public static final SigningStatus CANNOT_SIGN_ATTRIBUTES

The attributes could not be signed.

public static final SigningStatus CANNOT_VERIFY_SIGNATURE

A problem ocurred while verifying the signature.

public static final SigningStatus CANNOT_WRITE_PKCS7_SIGNATURE

A problem ocurred while writing the PKCS#7 structure to the document.

public static final SigningStatus SIGNED

Document was signed correctly.

public static final SigningStatus UNSUPPORTED_SUBFILTER_TYPE

The chosen filter subtype is not supported for signing documents.

Public Methods

public static SigningStatus valueOf (String name)

public static final SigningStatus[] values ()