Class POPOPrivKey

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

public class POPOPrivKey extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
     
    int
     
    org.bouncycastle.asn1.ASN1Encodable
     
    org.bouncycastle.asn1.ASN1Primitive
    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

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getInstance

      public static POPOPrivKey getInstance(Object obj)
    • getInstance

      public static POPOPrivKey getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
    • getType

      public int getType()
    • getValue

      public org.bouncycastle.asn1.ASN1Encodable getValue()
    • toASN1Primitive

      public org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object