Class POPOPrivKey

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.POPOPrivKey
All Implemented Interfaces:
ASN1Choice, ASN1Encodable, Encodable

public class POPOPrivKey extends ASN1Object implements ASN1Choice
  • Field Details

  • Constructor Details

  • Method Details

    • getInstance

      public static POPOPrivKey getInstance(Object obj)
    • getInstance

      public static POPOPrivKey getInstance(ASN1TaggedObject obj, boolean explicit)
    • getType

      public int getType()
    • getValue

      public ASN1Encodable getValue()
    • toASN1Primitive

      public ASN1Primitive 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 interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
      Returns:
      a primitive representation of this object.