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 Details

    • PublishTrustAnchors

      public PublishTrustAnchors(BigInteger seqNumber, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes)
  • Method Details

    • 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 interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object