org.bouncycastle.asn1.cms
Class TimeStampedDataParser
java.lang.Object
|
+--org.bouncycastle.asn1.cms.TimeStampedDataParser
- public class TimeStampedDataParser
- extends java.lang.Object
Parser for RFC 5544:
TimeStampedData
object.
TimeStampedData ::= SEQUENCE {
version INTEGER { v1(1) },
dataUri IA5String OPTIONAL,
metaData MetaData OPTIONAL,
content OCTET STRING OPTIONAL,
temporalEvidence Evidence
}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static TimeStampedDataParser getInstance(java.lang.Object obj)
throws java.io.IOException
getVersion
public int getVersion()
getDataUri
public DERIA5String getDataUri()
- Deprecated. Use
getDataUriIA5()
instead.
getDataUriIA5
public ASN1IA5String getDataUriIA5()
getMetaData
public MetaData getMetaData()
getContent
public ASN1OctetStringParser getContent()
getTemporalEvidence
public Evidence getTemporalEvidence()
throws java.io.IOException