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
Constructors Constructor Description PublishTrustAnchors(BigInteger seqNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[][]
getAnchorHashes()
org.bouncycastle.asn1.x509.AlgorithmIdentifier
getHashAlgorithm()
static PublishTrustAnchors
getInstance(Object o)
BigInteger
getSeqNumber()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
-
-
-
Constructor Detail
-
PublishTrustAnchors
public PublishTrustAnchors(BigInteger seqNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes)
-
-
Method Detail
-
getInstance
public static PublishTrustAnchors getInstance(Object o)
-
getSeqNumber
public BigInteger 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
-
-