Package org.bouncycastle.asn1.crmf
Class POPOPrivKey
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.POPOPrivKey
- All Implemented Interfaces:
ASN1Choice
,ASN1Encodable
,Encodable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic POPOPrivKey
getInstance
(Object obj) static POPOPrivKey
getInstance
(ASN1TaggedObject obj, boolean explicit) int
getType()
getValue()
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.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
thisMessage
public static final int thisMessage- See Also:
-
subsequentMessage
public static final int subsequentMessage- See Also:
-
dhMAC
public static final int dhMAC- See Also:
-
agreeMAC
public static final int agreeMAC- See Also:
-
encryptedKey
public static final int encryptedKey- See Also:
-
-
Constructor Details
-
POPOPrivKey
-
POPOPrivKey
-
-
Method Details
-
getInstance
-
getInstance
-
getType
public int getType() -
getValue
-
toASN1Primitive
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:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-