Class CAdESAttribute
java.lang.Object
eu.europa.esig.dss.cades.validation.CAdESAttribute
- All Implemented Interfaces:
Serializable
Represents a CAdES attribute, part of AttributeTable
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.bouncycastle.asn1.ASN1EncodableReturns the innerASN1Encodableobjectorg.bouncycastle.asn1.ASN1ObjectIdentifierReturns object identifierorg.bouncycastle.asn1.ASN1SetReturns attribute values seteu.europa.esig.dss.spi.validation.identifier.SignatureAttributeIdentifierprotected IntegergetOrder()Gets order of the CAdES Attribute from the original AttributeTableeu.europa.esig.dss.enumerations.TimestampTypeReturns type of the timestamp token, when applicableinthashCode()booleanChecks if the given CAdES attribute represents an evidence recordbooleanChecks if the given CAdESAttribute is a timestamp tokenorg.bouncycastle.asn1.tsp.EvidenceRecordReturns a EvidenceRecord if possibletoString()org.bouncycastle.tsp.TimeStampTokenReturns 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 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
-
getTimestampTokenType
public eu.europa.esig.dss.enumerations.TimestampType 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
TimeStampTokenor null
-
isEvidenceRecord
public boolean isEvidenceRecord()Checks if the given CAdES attribute represents an evidence record- Returns:
- TRUE if the attribute is an evidence record, FALSE otherwise
-
toEvidenceRecord
public org.bouncycastle.asn1.tsp.EvidenceRecord toEvidenceRecord()Returns a EvidenceRecord if possible- Returns:
- a
EvidenceRecordor null
-
getOrder
-
getIdentifier
public eu.europa.esig.dss.spi.validation.identifier.SignatureAttributeIdentifier getIdentifier() -
toString
-
equals
-
hashCode
-