Bouncy Castle Cryptography 1.46

org.bouncycastle.asn1.crmf
Class POPOPrivKey

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.crmf.POPOPrivKey
All Implemented Interfaces:
ASN1Choice, DEREncodable

public class POPOPrivKey
extends ASN1Encodable
implements ASN1Choice


Field Summary
static int agreeMAC
           
static int dhMAC
           
static int encryptedKey
           
static int subsequentMessage
           
static int thisMessage
           
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
POPOPrivKey(SubsequentMessage msg)
           
 
Method Summary
static POPOPrivKey getInstance(ASN1TaggedObject tagged, boolean isExplicit)
           
 int getType()
           
 ASN1Encodable getValue()
           
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thisMessage

public static final int thisMessage
See Also:
Constant Field Values

subsequentMessage

public static final int subsequentMessage
See Also:
Constant Field Values

dhMAC

public static final int dhMAC
See Also:
Constant Field Values

agreeMAC

public static final int agreeMAC
See Also:
Constant Field Values

encryptedKey

public static final int encryptedKey
See Also:
Constant Field Values
Constructor Detail

POPOPrivKey

public POPOPrivKey(SubsequentMessage msg)
Method Detail

getInstance

public static POPOPrivKey getInstance(ASN1TaggedObject tagged,
                                      boolean isExplicit)

getType

public int getType()

getValue

public ASN1Encodable getValue()

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 }
 

Specified by:
toASN1Object in class ASN1Encodable

Bouncy Castle Cryptography 1.46