Package org.bouncycastle.asn1.cmc
Class PublishTrustAnchors
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.PublishTrustAnchors
- All Implemented Interfaces:
ASN1Encodable,Encodable
PublishTrustAnchors ::= SEQUENCE {
seqNumber INTEGER,
hashAlgorithm AlgorithmIdentifier,
anchorHashes SEQUENCE OF OCTET STRING
}
-
Constructor Summary
ConstructorsConstructorDescriptionPublishTrustAnchors(BigInteger seqNumber, AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes) -
Method Summary
Modifier and TypeMethodDescriptionbyte[][]static PublishTrustAnchorsMethod providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
PublishTrustAnchors
public PublishTrustAnchors(BigInteger seqNumber, AlgorithmIdentifier hashAlgorithm, byte[][] anchorHashes)
-
-
Method Details
-
getInstance
-
getSeqNumber
-
getHashAlgorithm
-
getAnchorHashes
public byte[][] getAnchorHashes() -
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.
-