Package org.mozilla.jss.pkix.crmf
Class POPOSigningKey
java.lang.Object
org.mozilla.jss.pkix.crmf.POPOSigningKey
- All Implemented Interfaces:
ASN1Value
CRMF POPOSigningKey:
POPOSigningKey ::= SEQUENCE { poposkInput [0] POPOSigningKeyInput OPTIONAL, algorithmIdentifier AlgorithmIdentifier, signature BIT STRING }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decoding POPOSigningKey. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AlgorithmIdentifier
private ANY
private SEQUENCE
private BIT_STRING
private static final Tag
private static final POPOSigningKey.Template
-
Constructor Summary
ConstructorsConstructorDescriptionPOPOSigningKey
(ANY poposkInput, AlgorithmIdentifier algorithmIdentifier, BIT_STRING signature) Creates a POPOSigningKey. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Retrieves the algorithm identifier for the signature.Retrieves the input to the Proof-of-Possession of the signing key.Retrieves the signature.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static POPOSigningKey.Template
-
Field Details
-
poposkInput
-
algorithmIdentifier
-
signature
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
POPOSigningKey
public POPOSigningKey(ANY poposkInput, AlgorithmIdentifier algorithmIdentifier, BIT_STRING signature) Creates a POPOSigningKey.- Parameters:
poposkInput
- May be null.
-
-
Method Details
-
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
Retrieves the algorithm identifier for the signature. -
getSignature
Retrieves the signature. -
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
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-