Package eu.europa.esig.dss.enumerations
Enum SubIndication
- java.lang.Object
-
- java.lang.Enum<SubIndication>
-
- eu.europa.esig.dss.enumerations.SubIndication
-
- All Implemented Interfaces:
UriBasedEnum,Serializable,Comparable<SubIndication>
public enum SubIndication extends Enum<SubIndication> implements UriBasedEnum
Sub indication values Source ETSI EN 319 102-1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATE_CHAIN_GENERAL_FAILUREThe signature validation process results into INDETERMINATE because the set of certificates available for chain validation produced an error for an unspecified reason.CHAIN_CONSTRAINTS_FAILUREThe signature validation process results into INDETERMINATE because the certificate chain used in the validation process does not match the validation constraints related to the certificate.CRYPTO_CONSTRAINTS_FAILUREThe signature validation process results into INDETERMINATE because at least one of the algorithms that have been used in material (e.g.CRYPTO_CONSTRAINTS_FAILURE_NO_POEThe signature validation process results into INDETERMINATE because at least one of the algorithms that have been used in objects (e.g.EXPIREDThe signature validation process results into TOTAL-FAILED because there is proof that the signature has been created after the expiration date (notAfter) of the signing certificate.FORMAT_FAILUREThe signature is not conformant to one of the base standards to the extent that the cryptographic verification building block is unable to process it.HASH_FAILUREThe signature validation process results into TOTAL-FAILED because at least one hash of a signed data object(s) that has been included in the signing process does not match the corresponding hash value in the signature.NO_CERTIFICATE_CHAIN_FOUNDThe signature validation process results into INDETERMINATE because no certificate chain has been found for the identified signing certificate.NO_POEThe signature validation process results into INDETERMINATE because a proof of existence is missing to ascertain that a signed object has been produced before some compromising event (e.g.NO_SIGNING_CERTIFICATE_FOUNDThe signature validation process results into INDETERMINATE because the signing certificate cannot be identified.NOT_YET_VALIDThe signature validation process results into TOTAL-FAILED because there is proof that the signature was created before the issuance date (notBefore) of the signing certificate.OUT_OF_BOUNDS_NO_POEThe signature validation process results into INDETERMINATE because the signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the signing time lies within the validity interval of the signing certificate.OUT_OF_BOUNDS_NOT_REVOKEDThe signature validation process results into INDETERMINATE because the signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the signing time lies within the validity interval of the signing certificate.POLICY_PROCESSING_ERRORThe signature validation process results into INDETERMINATE because a given formal policy file could not be processed for any reason (e.g.REVOCATION_OUT_OF_BOUNDS_NO_POEThe signature validation process results into INDETERMINATE because the signing certificate of the revocation information of the signature signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the revocation information issuance time lies within the validity interval of the signing certificate of that revocation information.REVOKEDThe signature validation process results into TOTAL-FAILED because: • the signing certificate has been revoked; and • there is proof that the signature has been created after the revocation time.REVOKED_CA_NO_POEThe signature validation process results into INDETERMINATE because at least one certificate chain was found but an intermediate CA certificate is revoked.REVOKED_NO_POEThe signature validation process results into INDETERMINATE because the signing certificate was revoked at the validation date/time.SIG_CONSTRAINTS_FAILUREThe signature validation process results into INDETERMINATE because one or more attributes of the signature do not match the validation constraints.SIG_CRYPTO_FAILUREThe signature validation process results into TOTAL-FAILED because the signature value in the signature could not be verified using the signer's public key in the signing certificate.SIGNATURE_POLICY_NOT_AVAILABLEThe signature validation process results into INDETERMINATE because the electronic document containing the details of the policy is not available.SIGNED_DATA_NOT_FOUNDThe signature validation process results into INDETERMINATE because signed data cannot be obtained.TIMESTAMP_ORDER_FAILUREThe signature validation process results into INDETERMINATE because some constraints on the order of signature time-stamps and/or signed data object(s) time-stamps are not respected.TRY_LATERThe signature validation process results into INDETERMINATE because not all constraints can be fulfilled using available information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubIndicationforName(String value)SubIndication can be nullStringgetUri()Returns a URIstatic SubIndicationvalueOf(String name)Returns the enum constant of this type with the specified name.static SubIndication[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORMAT_FAILURE
public static final SubIndication FORMAT_FAILURE
The signature is not conformant to one of the base standards to the extent that the cryptographic verification building block is unable to process it.
-
HASH_FAILURE
public static final SubIndication HASH_FAILURE
The signature validation process results into TOTAL-FAILED because at least one hash of a signed data object(s) that has been included in the signing process does not match the corresponding hash value in the signature.
-
SIG_CRYPTO_FAILURE
public static final SubIndication SIG_CRYPTO_FAILURE
The signature validation process results into TOTAL-FAILED because the signature value in the signature could not be verified using the signer's public key in the signing certificate.
-
REVOKED
public static final SubIndication REVOKED
The signature validation process results into TOTAL-FAILED because: • the signing certificate has been revoked; and • there is proof that the signature has been created after the revocation time.
-
EXPIRED
public static final SubIndication EXPIRED
The signature validation process results into TOTAL-FAILED because there is proof that the signature has been created after the expiration date (notAfter) of the signing certificate.
-
NOT_YET_VALID
public static final SubIndication NOT_YET_VALID
The signature validation process results into TOTAL-FAILED because there is proof that the signature was created before the issuance date (notBefore) of the signing certificate.
-
SIG_CONSTRAINTS_FAILURE
public static final SubIndication SIG_CONSTRAINTS_FAILURE
The signature validation process results into INDETERMINATE because one or more attributes of the signature do not match the validation constraints.
-
CHAIN_CONSTRAINTS_FAILURE
public static final SubIndication CHAIN_CONSTRAINTS_FAILURE
The signature validation process results into INDETERMINATE because the certificate chain used in the validation process does not match the validation constraints related to the certificate.
-
CERTIFICATE_CHAIN_GENERAL_FAILURE
public static final SubIndication CERTIFICATE_CHAIN_GENERAL_FAILURE
The signature validation process results into INDETERMINATE because the set of certificates available for chain validation produced an error for an unspecified reason.
-
CRYPTO_CONSTRAINTS_FAILURE
public static final SubIndication CRYPTO_CONSTRAINTS_FAILURE
The signature validation process results into INDETERMINATE because at least one of the algorithms that have been used in material (e.g. the signature value, a certificate...) involved in validating the signature, or the size of a key used with such an algorithm, is below the required cryptographic security level, and: • this material was produced after the time up to which this algorithm/key was considered secure (if such a time is known); and • the material is not protected by a sufficiently strong time-stamp applied before the time up to which the algorithm/key was considered secure (if such a time is known).
-
POLICY_PROCESSING_ERROR
public static final SubIndication POLICY_PROCESSING_ERROR
The signature validation process results into INDETERMINATE because a given formal policy file could not be processed for any reason (e.g. not accessible, not parseable, digest mismatch, etc.).
-
SIGNATURE_POLICY_NOT_AVAILABLE
public static final SubIndication SIGNATURE_POLICY_NOT_AVAILABLE
The signature validation process results into INDETERMINATE because the electronic document containing the details of the policy is not available.
-
TIMESTAMP_ORDER_FAILURE
public static final SubIndication TIMESTAMP_ORDER_FAILURE
The signature validation process results into INDETERMINATE because some constraints on the order of signature time-stamps and/or signed data object(s) time-stamps are not respected.
-
NO_SIGNING_CERTIFICATE_FOUND
public static final SubIndication NO_SIGNING_CERTIFICATE_FOUND
The signature validation process results into INDETERMINATE because the signing certificate cannot be identified.
-
NO_CERTIFICATE_CHAIN_FOUND
public static final SubIndication NO_CERTIFICATE_CHAIN_FOUND
The signature validation process results into INDETERMINATE because no certificate chain has been found for the identified signing certificate.
-
REVOKED_NO_POE
public static final SubIndication REVOKED_NO_POE
The signature validation process results into INDETERMINATE because the signing certificate was revoked at the validation date/time. However, the Signature Validation Algorithm cannot ascertain that the signing time lies before or after the revocation time.
-
REVOKED_CA_NO_POE
public static final SubIndication REVOKED_CA_NO_POE
The signature validation process results into INDETERMINATE because at least one certificate chain was found but an intermediate CA certificate is revoked.
-
OUT_OF_BOUNDS_NOT_REVOKED
public static final SubIndication OUT_OF_BOUNDS_NOT_REVOKED
The signature validation process results into INDETERMINATE because the signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the signing time lies within the validity interval of the signing certificate. The certificate is known not to be revoked.
-
OUT_OF_BOUNDS_NO_POE
public static final SubIndication OUT_OF_BOUNDS_NO_POE
The signature validation process results into INDETERMINATE because the signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the signing time lies within the validity interval of the signing certificate.
-
REVOCATION_OUT_OF_BOUNDS_NO_POE
public static final SubIndication REVOCATION_OUT_OF_BOUNDS_NO_POE
The signature validation process results into INDETERMINATE because the signing certificate of the revocation information of the signature signing certificate is expired or not yet valid at the validation date/time and the Signature Validation Algorithm cannot ascertain that the revocation information issuance time lies within the validity interval of the signing certificate of that revocation information.
-
CRYPTO_CONSTRAINTS_FAILURE_NO_POE
public static final SubIndication CRYPTO_CONSTRAINTS_FAILURE_NO_POE
The signature validation process results into INDETERMINATE because at least one of the algorithms that have been used in objects (e.g. the signature value, a certificate, etc.) involved in validating the signature, or the size of a key used with such an algorithm, is below the required cryptographic security level, and there is no proof that this material was produced before the time up to which this algorithm/key was considered secure
-
NO_POE
public static final SubIndication NO_POE
The signature validation process results into INDETERMINATE because a proof of existence is missing to ascertain that a signed object has been produced before some compromising event (e.g. broken algorithm).
-
TRY_LATER
public static final SubIndication TRY_LATER
The signature validation process results into INDETERMINATE because not all constraints can be fulfilled using available information. However, it may be possible to do so using additional revocation information that will be available at a later point of time.
-
SIGNED_DATA_NOT_FOUND
public static final SubIndication SIGNED_DATA_NOT_FOUND
The signature validation process results into INDETERMINATE because signed data cannot be obtained.
-
-
Method Detail
-
values
public static SubIndication[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubIndication c : SubIndication.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubIndication valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getUri
public String getUri()
Description copied from interface:UriBasedEnumReturns a URI- Specified by:
getUriin interfaceUriBasedEnum- Returns:
String
-
forName
public static SubIndication forName(String value)
SubIndication can be null- Parameters:
value- the string value to be converted- Returns:
- the related SubIndication
-
-