Enum Class CryptographicInformationType
java.lang.Object
java.lang.Enum<CryptographicInformationType>
eu.europa.esig.dss.evidencerecord.common.validation.CryptographicInformationType
- All Implemented Interfaces:
Serializable
,Comparable<CryptographicInformationType>
,Constable
Defines type of the cryptographic information content
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFor type CERT, a base64 encoding of a DER-encoded X.509 certificate [RFC5280]For type CRL, a base64 encoding of a DER-encoded X.509 CRL[RFC5280]For type OCSP, a base64 encoding of a DER-encoded OCSPResponseFor type SCVP, a base64 encoding of a DER-encoded CVResponse; -
Method Summary
Modifier and TypeMethodDescriptionstatic CryptographicInformationType
ReturnsCryptographicInformationType
for the given label StringgetLabel()
Gets the type definition labelstatic CryptographicInformationType
Returns the enum constant of this class with the specified name.static CryptographicInformationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CRL
For type CRL, a base64 encoding of a DER-encoded X.509 CRL[RFC5280] -
OCSP
For type OCSP, a base64 encoding of a DER-encoded OCSPResponse -
SCVP
For type SCVP, a base64 encoding of a DER-encoded CVResponse; -
CERT
For type CERT, a base64 encoding of a DER-encoded X.509 certificate [RFC5280]
-
-
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
-
getLabel
-
fromLabel
ReturnsCryptographicInformationType
for the given label String- Parameters:
label
-String
- Returns:
CryptographicInformationType
-