| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
CERTIFICATE_REVOKED |
"Certificate revoked" |
public static final String |
HAS_UNSUPPORTED_EXTENSIONS |
"Has unsupported critical extension" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
RIPEMD160 |
"RIPEMD160" |
public static final String |
SHA1 |
"SHA-1" |
public static final String |
SHA256 |
"SHA-256" |
public static final String |
SHA3_256 |
"SHA3-256" |
public static final String |
SHA3_384 |
"SHA3-384" |
public static final String |
SHA3_512 |
"SHA3-512" |
public static final String |
SHA384 |
"SHA-384" |
public static final String |
SHA512 |
"SHA-512" |
public static final String |
SHAKE256 |
"SHAKE256" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
protected static final String |
id_kp_OCSPSigning |
"1.3.6.1.5.5.7.3.9" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
AUTHORITY_INFO_ACCESS |
"1.3.6.1.5.5.7.1.1" |
public static final String |
AUTHORITY_KEY_IDENTIFIER |
"2.5.29.35" |
public static final String |
BASIC_CONSTRAINTS |
"2.5.29.19" |
public static final String |
CERTIFICATE_POLICIES |
"2.5.29.32" |
public static final String |
CRL_DISTRIBUTION_POINTS |
"2.5.29.31" |
public static final String |
EXTENDED_KEY_USAGE |
"2.5.29.37" |
public static final String |
FRESHEST_CRL |
"2.5.29.46" |
public static final String |
ID_KP_TIMESTAMPING |
"1.3.6.1.5.5.7.3.8" |
public static final String |
ID_PKIX_OCSP_NOCHECK |
"1.3.6.1.5.5.7.48.1.5" |
public static final String |
INHIBIT_ANY_POLICY |
"2.5.29.54" |
public static final String |
ISSUER_ALTERNATIVE_NAME |
"2.5.29.18" |
public static final String |
KEY_USAGE |
"2.5.29.15" |
public static final String |
NAME_CONSTRAINTS |
"2.5.29.30" |
public static final String |
POLICY_CONSTRAINTS |
"2.5.29.36" |
public static final String |
POLICY_MAPPINGS |
"2.5.29.33" |
public static final String |
SUBJECT_ALTERNATIVE_NAME |
"2.5.29.17" |
public static final String |
SUBJECT_DIRECTORY_ATTRIBUTES |
"2.5.29.9" |
public static final String |
SUBJECT_INFO_ACCESS |
"1.3.6.1.5.5.7.1.11" |
public static final String |
SUBJECT_KEY_IDENTIFIER |
"2.5.29.14" |
public static final String |
VALIDITY_ASSURED_SHORT_TERM |
"0.4.0.194121.2.1" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final int |
CERTIFIED_FORM_FILLING |
2 |
public static final int |
CERTIFIED_FORM_FILLING_AND_ANNOTATIONS |
3 |
public static final int |
CERTIFIED_NO_CHANGES_ALLOWED |
1 |
public static final int |
NOT_CERTIFIED |
0 |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final int |
DEFAULT_TRAILER_FIELD |
1 |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
ID_AA_SIGNING_CERTIFICATE_V1 |
"1.2.840.113549.1.9.16.2.12" |
public static final String |
ID_AA_SIGNING_CERTIFICATE_V2 |
"1.2.840.113549.1.9.16.2.47" |
public static final String |
ID_AA_TIME_STAMP_TOKEN |
"1.2.840.113549.1.9.16.2.14" |
public static final String |
ID_ADBE_REVOCATION |
"1.2.840.113583.1.1.8" |
public static final String |
ID_CA_ISSUERS |
"1.3.6.1.5.5.7.48.2" |
public static final String |
ID_CONTENT_TYPE |
"1.2.840.113549.1.9.3" |
public static final String |
ID_DSA |
"1.2.840.10040.4.1" |
public static final String |
ID_ECDSA |
"1.2.840.10045.2.1" |
public static final String |
ID_ED25519 |
"1.3.101.112" |
public static final String |
ID_ED448 |
"1.3.101.113" |
public static final String |
ID_MESSAGE_DIGEST |
"1.2.840.113549.1.9.4" |
public static final String |
ID_MGF1 |
"1.2.840.113549.1.1.8" |
public static final String |
ID_OCSP |
"1.3.6.1.5.5.7.48.1" |
public static final String |
ID_PKCS7_DATA |
"1.2.840.113549.1.7.1" |
public static final String |
ID_PKCS7_SIGNED_DATA |
"1.2.840.113549.1.7.2" |
public static final String |
ID_RI_OCSP_RESPONSE |
"1.3.6.1.5.5.7.16.2" |
public static final String |
ID_RSA |
"1.2.840.113549.1.1.1" |
public static final String |
ID_RSA_WITH_SHA256 |
"1.2.840.113549.1.1.11" |
public static final String |
ID_RSA_WITH_SHA3_512 |
"2.16.840.1.101.3.4.3.16" |
public static final String |
ID_RSASSA_PSS |
"1.2.840.113549.1.1.10" |
public static final String |
ID_SHA256 |
"2.16.840.1.101.3.4.2.1" |
public static final String |
ID_SHA384 |
"2.16.840.1.101.3.4.2.2" |
public static final String |
ID_SHA512 |
"2.16.840.1.101.3.4.2.3" |
public static final String |
ID_SHAKE256 |
"2.16.840.1.101.3.4.2.12" |
public static final String |
ID_SIGNING_TIME |
"1.2.840.113549.1.9.5" |
public static final String |
ID_TSA |
"1.2.840.113583.1.1.9.1" |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
DEFAULTHASHALGORITHM |
"SHA-256" |
public static final int |
DEFAULTTOKENSIZE |
10240 |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
ALGO_REQUIRES_SPECIFIC_HASH |
"{0} requires the document to be digested using {1}, not {2}" |
public static final String |
ALGORITHMS_NOT_SUPPORTED |
"Signing algorithms {0} and {1} are not supported." |
public static final String |
AUTHENTICATED_ATTRIBUTE_IS_MISSING_THE_DIGEST |
"Authenticated attribute is missing the digest." |
public static final String |
AVAILABLE_SPACE_IS_NOT_ENOUGH_FOR_SIGNATURE |
"Available space is not enough for signature." |
public static final String |
CANNOT_BE_VERIFIED_CERTIFICATE_CHAIN |
"Cannot be verified against the KeyStore or the certificate chain." |
public static final String |
CANNOT_DECODE_PKCS7_SIGNED_DATA_OBJECT |
"Cannot decode PKCS#7 SignedData object." |
public static final String |
CANNOT_FIND_SIGNING_CERTIFICATE_WITH_THIS_SERIAL |
"Cannot find signing certificate with serial {0}." |
public static final String |
CERTIFICATE_TEMPLATE_FOR_EXCEPTION_MESSAGE |
"Certificate {0} failed: {1}" |
public static final String |
CERTIFICATION_SIGNATURE_CREATION_FAILED_DOC_SHALL_NOT_CONTAIN_SIGS |
"Certification signature creation failed. Document shall not contain any certification or approval signatures before signing with certification signature." |
public static final String |
CMS_CERTIFICATE_NOT_FOUND |
"Signer certificate not found in list of certificates" |
public static final String |
CMS_INVALID_CONTAINER_STRUCTURE |
"Provided data is not a CMS container" |
public static final String |
CMS_MISSING_CERTIFICATES |
"The certificate set must at least contains the signer certificate" |
public static final String |
CMS_ONLY_ONE_SIGNER_ALLOWED |
"Only one signer per CMS container is allowed" |
public static final String |
CMS_SIGNERINFO_NOT_INITIALIZED |
"Signer info is not yet initialized" |
public static final String |
CMS_SIGNERINFO_READONLY |
"Updating the signed attributes of this SignerInfo instance is not possible because it has been serialized or been initiated from a serialized version." |
public static final String |
COULD_NOT_DETERMINE_SIGNATURE_MECHANISM_OID |
"Could not determine OID for signature algorithm {0} with digest {1}." |
public static final String |
DEFAULT_CLIENTS_CANNOT_BE_CREATED |
"Default implementation of OCSP and CRL clients cannot be created, because signing certificate doesn\'t contain revocation data sources. Please try to explicitly add OCSP or CRL client." |
public static final String |
DICTIONARY_THIS_KEY_IS_NOT_A_NAME |
"Dictionary key {0} is not a name." |
public static final String |
DIGEST_ALGORITHMS_ARE_NOT_SAME |
"Digest algorithm used in the provided IExternalSignature shall be the same as digest algorithm in the provided CMSContainer. Digest algorithm in CMS container: \"{0}\". Digest algorithm in IExternalSignature: \"{1}\"" |
public static final String |
DISGEST_ALGORITM_MGF_MISMATCH |
"Digest algorithm in MGF1 parameters is {0} while ambient digest algorithm is {1}" |
public static final String |
DOCUMENT_ALREADY_PRE_CLOSED |
"Document has been already pre closed." |
public static final String |
DOCUMENT_MUST_BE_PRE_CLOSED |
"Document must be preClosed." |
public static final String |
DOCUMENT_MUST_HAVE_READER |
"Document must have reader." |
public static final String |
FAILED_TO_GET_TSA_RESPONSE |
"Failed to get TSA response from {0}." |
public static final String |
FIELD_ALREADY_SIGNED |
"Field has been already signed." |
public static final String |
FIELD_NAMES_CANNOT_CONTAIN_A_DOT |
"Field names cannot contain a dot." |
public static final String |
FIELD_TYPE_IS_NOT_A_SIGNATURE_FIELD_TYPE |
"Field type is not a signature field type." |
public static final String |
INVALID_ARGUMENTS |
"Invalid parameters provided." |
public static final String |
INVALID_HTTP_RESPONSE |
"Invalid http response {0}." |
public static final String |
INVALID_STATE_WHILE_CHECKING_CERT_CHAIN |
"Invalid state. Possible circular certificate chain." |
public static final String |
INVALID_TSA_RESPONSE |
"Invalid TSA {0} response code {1}." |
public static final String |
NO_CRYPTO_DICTIONARY_DEFINED |
"No crypto dictionary defined." |
public static final String |
NO_REVOCATION_DATA_FOR_SIGNING_CERTIFICATE |
"Neither ocsp nor crl data are available for the signing certificate or certificate is revoked." |
public static final String |
NO_SIGNATURES_TO_PROLONG |
"Document doesn\'t contain any signatures to prolong." |
public static final String |
NOT_A_VALID_PKCS7_OBJECT_NOT_A_SEQUENCE |
"Not a valid PKCS#7 object - not a sequence" |
public static final String |
NOT_A_VALID_PKCS7_OBJECT_NOT_SIGNED_DATA |
"Not a valid PKCS#7 object - not signed data." |
public static final String |
NOT_ENOUGH_SPACE |
"Not enough space." |
public static final String |
ONLY_MGF1_SUPPORTED_IN_RSASSA_PSS |
"Only MGF1 is supported in RSASSA-PSS" |
public static final String |
PATH_IS_NOT_DIRECTORY |
"Provided path: {0} is not a directory. Please provide a directory path to store temporary pdf files which are required for signing." |
public static final String |
PROVIDED_TSA_CLIENT_IS_NULL |
"Provided TSA client is null. TSA client is required for timestamp signing." |
public static final String |
RSASSA_PSS_DIGESTMISSMATCH |
"Digest algorithm in RSASSA-PSS parameters is {0} while ambientdigest algorithm is {1}" |
public static final String |
SIGNATURE_WITH_THIS_NAME_IS_NOT_THE_LAST_IT_DOES_NOT_COVER_WHOLE_DOCUMENT |
"Signature with name {0} is not the last. It doesn\'t cover the whole document." |
public static final String |
THE_NAME_OF_THE_DIGEST_ALGORITHM_IS_NULL |
"The name of the digest algorithm is null." |
public static final String |
THERE_IS_NO_FIELD_IN_THE_DOCUMENT_WITH_SUCH_NAME |
"There is no field in the document with such name: {0}." |
public static final String |
THIS_INSTANCE_OF_PDF_SIGNER_ALREADY_CLOSED |
"This instance of PdfSigner has been already closed." |
public static final String |
THIS_PKCS7_OBJECT_HAS_MULTIPLE_SIGNERINFOS_ONLY_ONE_IS_SUPPORTED_AT_THIS_TIME |
"This PKCS#7 object has multiple SignerInfos. Only one is supported at this time." |
public static final String |
THIS_TSA_FAILED_TO_RETURN_TIME_STAMP_TOKEN |
"TSA {0} failed to return time stamp token: {1}." |
public static final String |
TOKEN_ESTIMATION_SIZE_IS_NOT_LARGE_ENOUGH |
"Timestamp token estimation size is not large enough to accommodate the entire timestamp token. Timestamp token estimation size is: {0} bytes, however real timestamp token size is: {1} bytes." |
public static final String |
TOO_BIG_KEY |
"The key is too big." |
public static final String |
TSA_CLIENT_IS_MISSING |
"ITSAClient must be present to reach this PAdES level. Please use setTSAClient method to provide it." |
public static final String |
UNEXPECTED_CLOSE_BRACKET |
"Unexpected close bracket." |
public static final String |
UNEXPECTED_GT_GT |
"unexpected >>." |
public static final String |
UNKNOWN_HASH_ALGORITHM |
"Unknown hash algorithm: {0}." |
public static final String |
VERIFICATION_ALREADY_OUTPUT |
"Verification already output." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
ALGORITHM_NOT_FROM_SPEC |
"Requested algorithm might not be supported by the pdf specification." |
public static final String |
EXCEPTION_WITHOUT_MESSAGE |
"Unexpected exception without message was thrown during keystore processing" |
public static final String |
REVOCATION_DATA_NOT_ADDED_VALIDITY_ASSURED |
"Revocation data for certificate: \"{0}\" is not added due to validity assured - short term extension." |
public static final String |
UNABLE_TO_PARSE_AIA_CERT |
"Unable to parse certificates coming from authority info access extension. Those won\'t be included into the certificate chain." |
public static final String |
UNABLE_TO_PARSE_REV_INFO |
"Unable to parse signed data revocation info item since it is incorrect or unsupported (e.g. SCVP Request and Response)." |
public static final String |
VALID_CERTIFICATE_IS_REVOKED |
"The certificate was valid on the verification date, but has been revoked since {0}." |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final boolean |
DEFAULT_CONTINUE_AFTER_FAILURE |
true |
| Modifier and Type | Constant Field | Value |
|---|---|---|
public static final String |
ANY_EXTENDED_KEY_USAGE_OID |
"2.5.29.37.0" |
public static final String |
CLIENT_AUTH |
"1.3.6.1.5.5.7.3.2" |
public static final String |
CODE_SIGNING |
"1.3.6.1.5.5.7.3.3" |
public static final String |
OCSP_SIGNING |
"1.3.6.1.5.5.7.3.9" |
public static final String |
TIME_STAMPING |
"1.3.6.1.5.5.7.3.8" |
Copyright © 1998–2024 Apryse Group NV. All rights reserved.