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 classPOPOSigningKey.TemplateA 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 voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.AlgorithmIdentifiergetAlgorithmIdentifier()Retrieves the algorithm identifier for the signature.ANYgetPoposkInput()Retrieves the input to the Proof-of-Possession of the signing key.BIT_STRINGgetSignature()Retrieves the signature.TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static POPOSigningKey.TemplategetTemplate()
-
-
-
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:ASN1ValueReturns 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.IOExceptionDescription copied from interface:ASN1ValueWrite 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:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.
-
getTemplate
public static POPOSigningKey.Template getTemplate()
-
-