Class TimeStampedDataParser

java.lang.Object
org.bouncycastle.asn1.cms.TimeStampedDataParser

public class TimeStampedDataParser extends 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
 }
 
  • Method Details

    • getInstance

      public static TimeStampedDataParser getInstance(Object obj) throws IOException
      Throws:
      IOException
    • getVersion

      public int getVersion()
    • getDataUri

      public org.bouncycastle.asn1.DERIA5String getDataUri()
      Deprecated.
      Use getDataUriIA5() instead.
    • getDataUriIA5

      public org.bouncycastle.asn1.ASN1IA5String getDataUriIA5()
    • getMetaData

      public MetaData getMetaData()
    • getContent

      public org.bouncycastle.asn1.ASN1OctetStringParser getContent()
    • getTemporalEvidence

      public Evidence getTemporalEvidence() throws IOException
      Throws:
      IOException