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.ASN1GeneralizedTimestatic DVCSTimegetInstance(Object obj) static DVCSTimegetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1PrimitivetoString()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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
toString
-