Package eu.europa.esig.dss.enumerations
Enum Class SignatureQualification
- All Implemented Interfaces:
UriBasedEnum
,Serializable
,Comparable<SignatureQualification>
,Constable
Defines available signature qualification types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdvanced Electronic SealAdvanced Electronic Seal supported by a Qualified CertificateAdvanced Electronic SignatureAdvanced Electronic Signature supported by a Qualified CertificateIndeterminate Advanced Electronic SealIndeterminate Advanced Electronic Seal supported by a Qualified CertificateIndeterminate Advanced Electronic SignatureIndeterminate Advanced Electronic Signature supported by a Qualified CertificateIndeterminate Qualified Electronic SealIndeterminate Qualified Electronic SignatureSignature of unknown typeIndeterminate Signature supported by a Qualified CertificateIndeterminate Signature supported by a Qualified Certificate with the private key in a QSCDNot ApplicableNot Advanced Electronic SignatureNot Advanced Electronic Signature but supported by a Qualified CertificateNot Advanced Electronic Signature but supported by a Qualified CertificateQualified Electronic SealQualified Electronic SignatureSignature of unknown typeSignature supported by a Qualified CertificateSignature supported by a Qualified Certificate with the private key in a QSCD -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureQualification
SignatureQualification can be nullstatic SignatureQualification
SignatureQualification can be nullstatic SignatureQualification
fromReadable
(String readable) SignatureQualification can be nullgetLabel()
Gets description of the enumerationGets user-friendly name of the enumerationgetUri()
Returns a URIstatic SignatureQualification
Returns the enum constant of this class with the specified name.static SignatureQualification[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QESIG
Qualified Electronic Signature -
QESEAL
Qualified Electronic Seal -
UNKNOWN_QC_QSCD
Signature supported by a Qualified Certificate with the private key in a QSCD -
ADESIG_QC
Advanced Electronic Signature supported by a Qualified Certificate -
ADESEAL_QC
Advanced Electronic Seal supported by a Qualified Certificate -
UNKNOWN_QC
Signature supported by a Qualified Certificate -
ADESIG
Advanced Electronic Signature -
ADESEAL
Advanced Electronic Seal -
UNKNOWN
Signature of unknown type -
INDETERMINATE_QESIG
Indeterminate Qualified Electronic Signature -
INDETERMINATE_QESEAL
Indeterminate Qualified Electronic Seal -
INDETERMINATE_UNKNOWN_QC_QSCD
Indeterminate Signature supported by a Qualified Certificate with the private key in a QSCD -
INDETERMINATE_ADESIG_QC
Indeterminate Advanced Electronic Signature supported by a Qualified Certificate -
INDETERMINATE_ADESEAL_QC
Indeterminate Advanced Electronic Seal supported by a Qualified Certificate -
INDETERMINATE_UNKNOWN_QC
Indeterminate Signature supported by a Qualified Certificate -
INDETERMINATE_ADESIG
Indeterminate Advanced Electronic Signature -
INDETERMINATE_ADESEAL
Indeterminate Advanced Electronic Seal -
INDETERMINATE_UNKNOWN
Signature of unknown type -
NOT_ADES_QC_QSCD
Not Advanced Electronic Signature but supported by a Qualified Certificate -
NOT_ADES_QC
Not Advanced Electronic Signature but supported by a Qualified Certificate -
NOT_ADES
Not Advanced Electronic Signature -
NA
Not Applicable
-
-
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
-
getReadable
-
getLabel
-
getUri
Description copied from interface:UriBasedEnum
Returns a URI- Specified by:
getUri
in interfaceUriBasedEnum
- Returns:
String
-
forName
SignatureQualification can be null- Parameters:
value
- the qualification name to be converted to the enum- Returns:
- the linked SignatureQualification or null
-
fromReadable
SignatureQualification can be null- Parameters:
readable
- the readable description of the qualification to be converted to the enum- Returns:
- the linked SignatureQualification or null
-
forURI
SignatureQualification can be null- Parameters:
uri
- the uri of the linkedSignatureQualification
- Returns:
- the linked SignatureQualification or null
-