Package org.bouncycastle.asn1.cmc
Class PublishTrustAnchors
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.PublishTrustAnchors
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class PublishTrustAnchors
extends org.bouncycastle.asn1.ASN1Object
PublishTrustAnchors ::= SEQUENCE { seqNumber INTEGER, hashAlgorithm AlgorithmIdentifier, anchorHashes SEQUENCE OF OCTET STRING }
-
Constructor Summary
ConstructorDescriptionPublishTrustAnchors
(BigInteger seqNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes) -
Method Summary
Modifier and TypeMethodDescriptionbyte[][]
org.bouncycastle.asn1.x509.AlgorithmIdentifier
static PublishTrustAnchors
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
PublishTrustAnchors
public PublishTrustAnchors(BigInteger seqNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes)
-
-
Method Details
-
getInstance
-
getSeqNumber
-
getHashAlgorithm
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm() -
getAnchorHashes
public byte[][] getAnchorHashes() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-