Top Description Fields Constructors Methods
org.bouncycastle.asn1.cms

public Class TimeStampTokenEvidence

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

RFC 5544 Binding Documents with Time-Stamps; TimeStampTokenEvidence object.
TimeStampTokenEvidence ::=
   SEQUENCE SIZE(1..MAX) OF TimeStampAndCRL

Field Summary

Modifier and TypeField and Description
private TimeStampAndCRL[]

Constructor Summary

AccessConstructor and Description
public
public
private

Method Summary

Modifier and TypeMethod and Description
private TimeStampAndCRL[]
copy(TimeStampAndCRL[] tsAndCrls)

public static TimeStampTokenEvidence
getInstance(ASN1TaggedObject tagged, boolean explicit)

public static TimeStampTokenEvidence
getInstance(Object
the object we want converted.
obj
)

Return a TimeStampTokenEvidence object from the given object.

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
public TimeStampAndCRL[]
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

timeStampAndCRLsback to summary
private TimeStampAndCRL[] timeStampAndCRLs

Constructor Detail

TimeStampTokenEvidenceback to summary
public TimeStampTokenEvidence(TimeStampAndCRL[] timeStampAndCRLs)
TimeStampTokenEvidenceback to summary
public TimeStampTokenEvidence(TimeStampAndCRL timeStampAndCRL)
TimeStampTokenEvidenceback to summary
private TimeStampTokenEvidence(ASN1Sequence seq)

Method Detail

copyback to summary
private TimeStampAndCRL[] copy(TimeStampAndCRL[] tsAndCrls)
getInstanceback to summary
public static TimeStampTokenEvidence getInstance(ASN1TaggedObject tagged, boolean explicit)
getInstanceback to summary
public static TimeStampTokenEvidence getInstance(Object obj)

Return a TimeStampTokenEvidence object from the given object.

Accepted inputs:

Parameters
obj:Object

the object we want converted.

Exceptions
IllegalArgumentException:
if the object cannot be converted.
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

toTimeStampAndCRLArrayback to summary
public TimeStampAndCRL[] toTimeStampAndCRLArray()