Package org.mozilla.jss.pkix.crmf
Class POPOSigningKey
- java.lang.Object
-
- org.mozilla.jss.pkix.crmf.POPOSigningKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
POPOSigningKey.Template
A Template for decoding POPOSigningKey.
-
Constructor Summary
Constructors Constructor Description POPOSigningKey(ANY poposkInput, AlgorithmIdentifier algorithmIdentifier, BIT_STRING signature)
Creates a POPOSigningKey.
-
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
getAlgorithmIdentifier()
Retrieves the algorithm identifier for the signature.ANY
getPoposkInput()
Retrieves the input to the Proof-of-Possession of the signing key.BIT_STRING
getSignature()
Retrieves the signature.Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static POPOSigningKey.Template
getTemplate()
-
-
-
Constructor Detail
-
POPOSigningKey
public POPOSigningKey(ANY poposkInput, AlgorithmIdentifier algorithmIdentifier, BIT_STRING signature)
Creates a POPOSigningKey.- Parameters:
poposkInput
- May be null.
-
-
Method Detail
-
getPoposkInput
public ANY getPoposkInput()
Retrieves the input to the Proof-of-Possession of the signing key. May return null, because this field is optional. Returns an ANY because this type is not currently parsed.
-
getAlgorithmIdentifier
public AlgorithmIdentifier getAlgorithmIdentifier()
Retrieves the algorithm identifier for the signature.
-
getSignature
public BIT_STRING getSignature()
Retrieves the signature.
-
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 POPOSigningKey.Template getTemplate()
-
-