Top Description Fields Constructors Methods
org.bouncycastle.asn1.dvcs

public Class Data

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.DigestInfo

Data ::= CHOICE {
  message           OCTET STRING ,
  messageImprint    DigestInfo,
  certs             [0] SEQUENCE SIZE (1..MAX) OF
                        TargetEtcChain
}

Field Summary

Modifier and TypeField and Description
private ASN1Sequence
private ASN1OctetString
private DigestInfo

Constructor Summary

AccessConstructor and Description
public
Data(byte[] messageBytes)

public
public
Data(DigestInfo messageImprint)

public
public
private

Method Summary

Modifier and TypeMethod and Description
public TargetEtcChain[]
public static Data
public static Data
getInstance(ASN1TaggedObject obj, boolean explicit)

public ASN1OctetString
public DigestInfo
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certsback to summary
private ASN1Sequence certs
messageback to summary
private ASN1OctetString message
messageImprintback to summary
private DigestInfo messageImprint

Constructor Detail

Databack to summary
public Data(byte[] messageBytes)
Databack to summary
public Data(ASN1OctetString message)
Databack to summary
public Data(DigestInfo messageImprint)
Databack to summary
public Data(TargetEtcChain cert)
Databack to summary
public Data(TargetEtcChain[] certs)
Databack to summary
private Data(ASN1Sequence certs)

Method Detail

getCertsback to summary
public TargetEtcChain[] getCerts()
getInstanceback to summary
public static Data getInstance(Object obj)
getInstanceback to summary
public static Data getInstance(ASN1TaggedObject obj, boolean explicit)
getMessageback to summary
public ASN1OctetString getMessage()
getMessageImprintback to summary
public DigestInfo getMessageImprint()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.