Package org.bouncycastle.asn1.dvcs
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 Summary
ConstructorDescriptionData
(byte[] messageBytes) Data
(org.bouncycastle.asn1.ASN1OctetString message) Data
(TargetEtcChain cert) Data
(TargetEtcChain[] certs) Data
(org.bouncycastle.asn1.x509.DigestInfo messageImprint) -
Method Summary
Modifier and TypeMethodDescriptiongetCerts()
static Data
getInstance
(Object obj) static Data
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1OctetString
org.bouncycastle.asn1.x509.DigestInfo
org.bouncycastle.asn1.ASN1Primitive
toString()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
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
-
Data
-
-
Method Details
-
getInstance
-
getInstance
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
toString
-
getMessage
public org.bouncycastle.asn1.ASN1OctetString getMessage() -
getMessageImprint
public org.bouncycastle.asn1.x509.DigestInfo getMessageImprint() -
getCerts
-