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:
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1EncodableReturns the innerASN1Encodableobjectorg.bouncycastle.asn1.ASN1ObjectIdentifierReturns object identifierorg.bouncycastle.asn1.ASN1SetReturns attribute values setbooleanChecks if the given CAdESAttribute is a timestamp tokentoString()org.bouncycastle.tsp.TimeStampTokenReturns a TimeStampToken if possible
-
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 innerASN1Encodableobject- Returns:
ASN1Sequenceobject
-
isTimeStampToken
public boolean isTimeStampToken()Checks if the given CAdESAttribute is a timestamp token- Returns:
- TRUE if the attribute is a timestamp, FALSE otherwise
-
toTimeStampToken
public org.bouncycastle.tsp.TimeStampToken toTimeStampToken()Returns a TimeStampToken if possible- Returns:
- a
TimeStampTokenor null
-
toString
-