Class Data

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.Data
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class Data extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
 Data ::= CHOICE {
   message           OCTET STRING ,
   messageImprint    DigestInfo,
   certs             [0] SEQUENCE SIZE (1..MAX) OF
                         TargetEtcChain
 }
 
  • Constructor Details

    • Data

      public Data(byte[] messageBytes)
    • Data

      public Data(org.bouncycastle.asn1.ASN1OctetString message)
    • Data

      public Data(org.bouncycastle.asn1.x509.DigestInfo messageImprint)
    • Data

      public Data(TargetEtcChain cert)
    • Data

      public Data(TargetEtcChain[] certs)
  • Method Details

    • getInstance

      public static Data getInstance(Object obj)
    • getInstance

      public static Data getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMessage

      public org.bouncycastle.asn1.ASN1OctetString getMessage()
    • getMessageImprint

      public org.bouncycastle.asn1.x509.DigestInfo getMessageImprint()
    • getCerts

      public TargetEtcChain[] getCerts()