Enum Class CryptographicSuiteAlgorithmUsage
java.lang.Object
java.lang.Enum<CryptographicSuiteAlgorithmUsage>
eu.europa.esig.dss.enumerations.CryptographicSuiteAlgorithmUsage
- All Implemented Interfaces:
UriBasedEnum, Serializable, Comparable<CryptographicSuiteAlgorithmUsage>, Constable
public enum CryptographicSuiteAlgorithmUsage
extends Enum<CryptographicSuiteAlgorithmUsage>
implements UriBasedEnum
Lists possible algorithm-usage element URIs as per ETSI TS 119 322.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionhttp://uri.etsi.org/19322/sign_data/sign_certificates shall be used to indicate that the evaluation is applicable for signing certificates.http://uri.etsi.org/19322/sign_data shall be used to indicate that the evaluation is applicable for any signed data.http://uri.etsi.org/19322/sign_data/sign_ocsp shall be used to indicate that the evaluation is applicable for signing OCSP responses.http://uri.etsi.org/19322/sign_data/sign_timestamps shall be used to indicate that the evaluation is applicable for signing timestamps.http://uri.etsi.org/19322/sign_data/validate_data/validate_certificates shall be used to indicate that the evaluation is applicable for the validation of certificates.http://uri.etsi.org/19322/sign_data/validate_data shall be used to indicate that the evaluation is applicable for the validation of any signed data.http://uri.etsi.org/19322/sign_data/validate_data/validate_ocsp shall be used to indicate that the evaluation is applicable for the validation of OCSP responses.http://uri.etsi.org/19322/sign_data/validate_data/validate_timestamps shall be used to indicate that the evaluation is applicable for the validation of timestamps. -
Method Summary
Modifier and TypeMethodDescriptionReturns aCryptographicSuiteAlgorithmUsageby the given URIgetUri()Returns a URIReturns the enum constant of this class with the specified name.static CryptographicSuiteAlgorithmUsage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIGN_DATA
http://uri.etsi.org/19322/sign_data shall be used to indicate that the evaluation is applicable for any signed data. -
SIGN_CERTIFICATES
http://uri.etsi.org/19322/sign_data/sign_certificates shall be used to indicate that the evaluation is applicable for signing certificates. -
SIGN_OCSP
http://uri.etsi.org/19322/sign_data/sign_ocsp shall be used to indicate that the evaluation is applicable for signing OCSP responses. -
SIGN_TIMESTAMPS
http://uri.etsi.org/19322/sign_data/sign_timestamps shall be used to indicate that the evaluation is applicable for signing timestamps. -
VALIDATE_DATA
http://uri.etsi.org/19322/sign_data/validate_data shall be used to indicate that the evaluation is applicable for the validation of any signed data. -
VALIDATE_CERTIFICATES
http://uri.etsi.org/19322/sign_data/validate_data/validate_certificates shall be used to indicate that the evaluation is applicable for the validation of certificates. -
VALIDATE_OCSP
http://uri.etsi.org/19322/sign_data/validate_data/validate_ocsp shall be used to indicate that the evaluation is applicable for the validation of OCSP responses. -
VALIDATE_TIMESTAMPS
http://uri.etsi.org/19322/sign_data/validate_data/validate_timestamps shall be used to indicate that the evaluation is applicable for the validation of timestamps.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getUri
Description copied from interface:UriBasedEnumReturns a URI- Specified by:
getUriin interfaceUriBasedEnum- Returns:
String
-
fromUri
Returns aCryptographicSuiteAlgorithmUsageby the given URI- Parameters:
uri-Stringto getCryptographicSuiteAlgorithmUsagefor- Returns:
CryptographicSuiteAlgorithmUsage
-