Package eu.europa.esig.dss.enumerations
Enum CertificateQualification
- All Implemented Interfaces:
Serializable
,Comparable<CertificateQualification>
public enum CertificateQualification extends Enum<CertificateQualification>
-
Enum Constant Summary
Enum Constants Enum Constant Description CERT_FOR_ESEAL
Certificate for Electronic SealsCERT_FOR_ESIG
Certificate for Electronic SignaturesCERT_FOR_WSA
Certificate for Web Site AuthenticationsNA
Not ApplicableQCERT_FOR_ESEAL
Qualified Certificate for Electronic SealsQCERT_FOR_ESEAL_QSCD
Qualified Certificate for Electronic Seals with private key on QSCDQCERT_FOR_ESIG
Qualified Certificate for Electronic SignaturesQCERT_FOR_ESIG_QSCD
Qualified Certificate for Electronic Signatures with private key on QSCDQCERT_FOR_WSA
Qualified Certificate for Web Site Authentications -
Method Summary
Modifier and Type Method Description static CertificateQualification
forName(String value)
CertificateQualification can be nullstatic CertificateQualification
fromReadable(String readable)
CertificateQualification can be nullString
getLabel()
String
getReadable()
boolean
isForEsig()
boolean
isQc()
boolean
isQscd()
static CertificateQualification
valueOf(String name)
Returns the enum constant of this type with the specified name.static CertificateQualification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
QCERT_FOR_ESIG_QSCD
Qualified Certificate for Electronic Signatures with private key on QSCD -
QCERT_FOR_ESEAL_QSCD
Qualified Certificate for Electronic Seals with private key on QSCD -
QCERT_FOR_ESIG
Qualified Certificate for Electronic Signatures -
QCERT_FOR_ESEAL
Qualified Certificate for Electronic Seals -
QCERT_FOR_WSA
Qualified Certificate for Web Site Authentications -
CERT_FOR_ESIG
Certificate for Electronic Signatures -
CERT_FOR_ESEAL
Certificate for Electronic Seals -
CERT_FOR_WSA
Certificate for Web Site Authentications -
NA
Not Applicable
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getReadable
-
getLabel
-
forName
CertificateQualification can be null- Parameters:
value
- the qualification name to be converted to the enum- Returns:
- the linked CertificateQualification or null
-
fromReadable
CertificateQualification can be null- Parameters:
readable
- the readable description of the qualification to be converted to the enum- Returns:
- the linked CertificateQualification or null
-
isQc
public boolean isQc() -
isForEsig
public boolean isForEsig() -
isQscd
public boolean isQscd()
-