org.bouncycastle.asn1.crmf

Class POPOPrivKey

Implemented Interfaces:
ASN1Choice, DEREncodable

public class POPOPrivKey
extends ASN1Encodable
implements ASN1Choice

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

static ASN1Encodable
getInstance(ASN1TaggedObject tagged, boolean explicit)
DERObject
toASN1Object()
 POPOPrivKey ::= CHOICE {
        thisMessage       [0] BIT STRING,         -- Deprecated
         -- possession is proven in this message (which contains the private
         -- key itself (encrypted for the CA))
        subsequentMessage [1] SubsequentMessage,
         -- possession will be proven in a subsequent message
        dhMAC             [2] BIT STRING,         -- Deprecated
        agreeMAC          [3] PKMACValue,
        encryptedKey      [4] EnvelopedData }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

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

Method Details

getInstance

public static ASN1Encodable getInstance(ASN1TaggedObject tagged,
                                        boolean explicit)

toASN1Object

public DERObject toASN1Object()
 POPOPrivKey ::= CHOICE {
        thisMessage       [0] BIT STRING,         -- Deprecated
         -- possession is proven in this message (which contains the private
         -- key itself (encrypted for the CA))
        subsequentMessage [1] SubsequentMessage,
         -- possession will be proven in a subsequent message
        dhMAC             [2] BIT STRING,         -- Deprecated
        agreeMAC          [3] PKMACValue,
        encryptedKey      [4] EnvelopedData }
 
Overrides:
toASN1Object in interface ASN1Encodable