Package org.mozilla.jss.pkix.cmc
Class PopLinkWitnessV2
- java.lang.Object
-
- org.mozilla.jss.pkix.cmc.PopLinkWitnessV2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PopLinkWitnessV2.Template
A Template for decoding BER-encoded PopLinkWitnessV2 items.
-
Constructor Summary
Constructors Constructor Description PopLinkWitnessV2(AlgorithmIdentifier keyGenAlgorithm, AlgorithmIdentifier macAlgorithm, OCTET_STRING witness)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using its own base tag.void
encode(Tag implicitTag, java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag.AlgorithmIdentifier
getKeyGenAlgorithm()
AlgorithmIdentifier
getMacAlgorithm()
Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static PopLinkWitnessV2.Template
getTemplate()
OCTET_STRING
getWitness()
-
-
-
Constructor Detail
-
PopLinkWitnessV2
public PopLinkWitnessV2(AlgorithmIdentifier keyGenAlgorithm, AlgorithmIdentifier macAlgorithm, OCTET_STRING witness)
-
-
Method Detail
-
getKeyGenAlgorithm
public AlgorithmIdentifier getKeyGenAlgorithm()
-
getMacAlgorithm
public AlgorithmIdentifier getMacAlgorithm()
-
getWitness
public OCTET_STRING getWitness()
-
getTag
public Tag getTag()
Description copied from interface:ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
encode
public void encode(java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.
-
encode
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static PopLinkWitnessV2.Template getTemplate()
-
-