Package org.bouncycastle.asn1.dvcs
Class DVCSTime
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.DVCSTime
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice
,org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class DVCSTime
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
DVCSTime ::= CHOICE { genTime GeneralizedTime, timeStampToken ContentInfo }
-
Constructor Summary
ConstructorsConstructorDescriptionDVCSTime
(org.bouncycastle.asn1.ASN1GeneralizedTime genTime) DVCSTime
(ContentInfo timeStampToken) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1GeneralizedTime
static DVCSTime
getInstance
(Object obj) static DVCSTime
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1Primitive
toString()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
DVCSTime
-
DVCSTime
public DVCSTime(org.bouncycastle.asn1.ASN1GeneralizedTime genTime) -
DVCSTime
-
-
Method Details
-
getInstance
-
getInstance
-
getGenTime
public org.bouncycastle.asn1.ASN1GeneralizedTime getGenTime() -
getTimeStampToken
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
toString
-