Package eu.europa.esig.dss.enumerations
Enum Class CertificateQualification
- All Implemented Interfaces:
- Serializable,- Comparable<CertificateQualification>,- Constable
Available certificate qualification types
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionCertificate for Electronic SealsCertificate for Electronic SignaturesCertificate for unidentified typeCertificate for Web Site AuthenticationsNot ApplicableQualified Certificate for Electronic SealsQualified Certificate for Electronic Seals with private key on QSCDQualified Certificate for Electronic SignaturesQualified Certificate for Electronic Signatures with private key on QSCDQualified Certificate for unidentified typeQualified Certificate for unidentified type with private key in a QSCDQualified Certificate for Web Site Authentications
- 
Method SummaryModifier and TypeMethodDescriptionstatic CertificateQualificationCertificateQualification can be nullstatic CertificateQualificationfromReadable(String readable) CertificateQualification can be nullgetLabel()Returns a complete name of the qualification typeReturns a short string defining the qualification typegetType()Returns the type of an electronic signature the certificate can be used forbooleanReturns if the certificate can be used for an electronic sealbooleanReturns if the certificate can be used for an electronic signaturebooleanisQc()Returns if the certificate is qualifiedbooleanisQscd()Returns if the certificate is used on a Qualified Signature Creation Devicestatic CertificateQualificationReturns the enum constant of this class with the specified name.static CertificateQualification[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
QCERT_FOR_ESIG_QSCDQualified Certificate for Electronic Signatures with private key on QSCD
- 
QCERT_FOR_ESEAL_QSCDQualified Certificate for Electronic Seals with private key on QSCD
- 
QCERT_FOR_UNKNOWN_QSCDQualified Certificate for unidentified type with private key in a QSCD
- 
QCERT_FOR_ESIGQualified Certificate for Electronic Signatures
- 
QCERT_FOR_ESEALQualified Certificate for Electronic Seals
- 
QCERT_FOR_WSAQualified Certificate for Web Site Authentications
- 
QCERT_FOR_UNKNOWNQualified Certificate for unidentified type
- 
CERT_FOR_ESIGCertificate for Electronic Signatures
- 
CERT_FOR_ESEALCertificate for Electronic Seals
- 
CERT_FOR_WSACertificate for Web Site Authentications
- 
CERT_FOR_UNKNOWNCertificate for unidentified type
- 
NANot Applicable
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getReadable
- 
getLabel
- 
forNameCertificateQualification can be null- Parameters:
- value- the qualification name to be converted to the enum
- Returns:
- the linked CertificateQualification or null
 
- 
fromReadableCertificateQualification can be null- Parameters:
- readable- the readable description of the qualification to be converted to the enum
- Returns:
- the linked CertificateQualification or null
 
- 
isQcpublic boolean isQc()Returns if the certificate is qualified- Returns:
- TRUE if it is a qualified certificate, FALSE otherwise
 
- 
getTypeReturns the type of an electronic signature the certificate can be used for- Returns:
- CertificateType
 
- 
isForEsigpublic boolean isForEsig()Returns if the certificate can be used for an electronic signature- Returns:
- TRUE if it is an eSig certificate, FALSE otherwise
 
- 
isForEsealpublic boolean isForEseal()Returns if the certificate can be used for an electronic seal- Returns:
- TRUE if it is an eSeal certificate, FALSE otherwise
 
- 
isQscdpublic boolean isQscd()Returns if the certificate is used on a Qualified Signature Creation Device- Returns:
- TRUE if the certificate os QSCD, FALSE otherwise
 
 
-