Package org.bouncycastle.asn1.dvcs
Class Data
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.dvcs.Data
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable,Encodable
Data ::= CHOICE {
message OCTET STRING ,
messageImprint DigestInfo,
certs [0] SEQUENCE SIZE (1..MAX) OF
TargetEtcChain
}
-
Constructor Summary
ConstructorsConstructorDescriptionData(byte[] messageBytes) Data(ASN1OctetString message) Data(TargetEtcChain cert) Data(TargetEtcChain[] certs) Data(DigestInfo messageImprint) -
Method Summary
Modifier and TypeMethodDescriptiongetCerts()static DatagetInstance(Object obj) static DatagetInstance(ASN1TaggedObject obj, boolean explicit) Method providing a primitive representation of this object suitable for encoding.toString()Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Data
public Data(byte[] messageBytes) -
Data
-
Data
-
Data
-
Data
-
-
Method Details
-
getInstance
-
getInstance
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
toString
-
getMessage
-
getMessageImprint
-
getCerts
-