Package eu.europa.esig.dss.enumerations
Enum Class CommitmentTypeEnum
- All Implemented Interfaces:
CommitmentType
,ObjectIdentifier
,OidAndUriBasedEnum
,OidBasedEnum
,OidDescription
,UriBasedEnum
,Serializable
,Comparable<CommitmentTypeEnum>
,Constable
Defined in ETSI TS 119 172-1 Annex B
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIt indicates that the signer has approved the content of the signed data.It indicates that the signer has created the signed data (but not necessarily approved, nor sent it).It indicates that the TSP providing that indication has delivered a signed data in a local store accessible to the recipient of the signed data.It indicates that the signer recognizes to have created, approved and sent the signed data.It indicates that signer recognizes to have received the content of the signed data.It indicates that the entity providing that indication has sent the signed data (but not necessarily created it). -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the literal description of the OIDString[]
Returns a list of URI-based references NOTE: used in XAdESgetOid()
This method returns the OID valueReturns Object Identifier QualifiergetUri()
Returns a URIstatic CommitmentTypeEnum
Returns the enum constant of this class with the specified name.static CommitmentTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ProofOfOrigin
It indicates that the signer recognizes to have created, approved and sent the signed data. -
ProofOfReceipt
It indicates that signer recognizes to have received the content of the signed data. -
ProofOfDelivery
It indicates that the TSP providing that indication has delivered a signed data in a local store accessible to the recipient of the signed data. -
ProofOfSender
It indicates that the entity providing that indication has sent the signed data (but not necessarily created it). -
ProofOfApproval
It indicates that the signer has approved the content of the signed data. -
ProofOfCreation
It indicates that the signer has created the signed data (but not necessarily approved, nor sent it).
-
-
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:UriBasedEnum
Returns a URI- Specified by:
getUri
in interfaceUriBasedEnum
- Returns:
String
-
getOid
Description copied from interface:OidBasedEnum
This method returns the OID value- Specified by:
getOid
in interfaceOidBasedEnum
- Returns:
- the OID value
-
getQualifier
Description copied from interface:ObjectIdentifier
Returns Object Identifier Qualifier- Specified by:
getQualifier
in interfaceObjectIdentifier
- Returns:
ObjectIdentifierQualifier
-
getDescription
Description copied from interface:OidDescription
This method returns the literal description of the OID- Specified by:
getDescription
in interfaceOidDescription
- Returns:
- the OID description
-
getDocumentationReferences
Description copied from interface:ObjectIdentifier
Returns a list of URI-based references NOTE: used in XAdES- Specified by:
getDocumentationReferences
in interfaceObjectIdentifier
- Returns:
- an array of URI
String
references
-