Class CAdESAttribute
java.lang.Object
eu.europa.esig.dss.cades.validation.CAdESAttribute
- All Implemented Interfaces:
SignatureAttribute
,Serializable
Represents a CAdES attribute, part of AttributeTable
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Encodable
Returns the innerASN1Encodable
objectorg.bouncycastle.asn1.ASN1ObjectIdentifier
Returns object identifierorg.bouncycastle.asn1.ASN1Set
Returns attribute values setGets the attribute identifierReturns type of the timestamp token, when applicableboolean
Checks if the given CAdESAttribute is a timestamp tokentoString()
org.bouncycastle.tsp.TimeStampToken
Returns a TimeStampToken if possible
-
Field Details
-
identifier
Identifies the instance
-
-
Method Details
-
getASN1Oid
public org.bouncycastle.asn1.ASN1ObjectIdentifier getASN1Oid()Returns object identifier- Returns:
ASN1ObjectIdentifier
-
getAttrValues
public org.bouncycastle.asn1.ASN1Set getAttrValues()Returns attribute values set- Returns:
ASN1Set
-
getASN1Object
public org.bouncycastle.asn1.ASN1Encodable getASN1Object()Returns the innerASN1Encodable
object- Returns:
ASN1Sequence
object
-
isTimeStampToken
public boolean isTimeStampToken()Checks if the given CAdESAttribute is a timestamp token- Returns:
- TRUE if the attribute is a timestamp, FALSE otherwise
-
getTimestampTokenType
Returns type of the timestamp token, when applicable- Returns:
TimestampType
-
toTimeStampToken
public org.bouncycastle.tsp.TimeStampToken toTimeStampToken()Returns a TimeStampToken if possible- Returns:
- a
TimeStampToken
or null
-
getIdentifier
Description copied from interface:SignatureAttribute
Gets the attribute identifier- Specified by:
getIdentifier
in interfaceSignatureAttribute
- Returns:
SignatureAttributeIdentifier
-
toString
-