Package org.mozilla.jss.pkix.cmc
Class IdentityProofV2
- java.lang.Object
-
- org.mozilla.jss.pkix.cmc.IdentityProofV2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdentityProofV2.Template
A Template for decoding BER-encoded IdentityProofV2 items.
-
Constructor Summary
Constructors Constructor Description IdentityProofV2(AlgorithmIdentifier hashAlgID, AlgorithmIdentifier macAlgId, 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
getHashAlgID()
AlgorithmIdentifier
getMacAlgId()
Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static IdentityProofV2.Template
getTemplate()
OCTET_STRING
getWitness()
-
-
-
Constructor Detail
-
IdentityProofV2
public IdentityProofV2(AlgorithmIdentifier hashAlgID, AlgorithmIdentifier macAlgId, OCTET_STRING witness)
-
-
Method Detail
-
getHashAlgID
public AlgorithmIdentifier getHashAlgID()
-
getMacAlgId
public AlgorithmIdentifier getMacAlgId()
-
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 IdentityProofV2.Template getTemplate()
-
-