org.bouncycastle.asn1.crmf

Class ProofOfPossession

Implemented Interfaces:
ASN1Choice, DEREncodable

public class ProofOfPossession
extends ASN1Encodable
implements ASN1Choice

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

static ProofOfPossession
getInstance(Object o)
ASN1Encodable
getObject()
int
getType()
DERObject
toASN1Object()
 ProofOfPossession ::= CHOICE {
                           raVerified        [0] NULL,
                           -- used if the RA has already verified that the requester is in
                           -- possession of the private key
                           signature         [1] POPOSigningKey,
                           keyEncipherment   [2] POPOPrivKey,
                           keyAgreement      [3] POPOPrivKey }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getInstance

public static ProofOfPossession getInstance(Object o)

getObject

public ASN1Encodable getObject()

getType

public int getType()

toASN1Object

public DERObject toASN1Object()
 ProofOfPossession ::= CHOICE {
                           raVerified        [0] NULL,
                           -- used if the RA has already verified that the requester is in
                           -- possession of the private key
                           signature         [1] POPOSigningKey,
                           keyEncipherment   [2] POPOPrivKey,
                           keyAgreement      [3] POPOPrivKey }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.