org.mozilla.jss.pkix.crmf

Class POPOSigningKey

public class POPOSigningKey extends Object implements ASN1Value

CRMF POPOSigningKey:
 POPOSigningKey ::= SEQUENCE {
      poposkInput         [0] POPOSigningKeyInput OPTIONAL,
      algorithmIdentifier AlgorithmIdentifier,
      signature           BIT STRING }
 
Nested Class Summary
static classPOPOSigningKey.Template
A Template for decoding POPOSigningKey.
Constructor Summary
POPOSigningKey(ANY poposkInput, AlgorithmIdentifier algorithmIdentifier, BIT_STRING signature)
Creates a POPOSigningKey.
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
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()
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

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getAlgorithmIdentifier

public AlgorithmIdentifier getAlgorithmIdentifier()
Retrieves the algorithm identifier for the signature.

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.

getSignature

public BIT_STRING getSignature()
Retrieves the signature.

getTag

public Tag getTag()

getTemplate

public static POPOSigningKey.Template getTemplate()