public class

PKIArchiveOptions

extends ASN1Encodable
implements ASN1Choice
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.crmf.PKIArchiveOptions

Summary

Constants
int archiveRemGenPrivKey
int encryptedPrivKey
int keyGenParameters
[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
PKIArchiveOptions(EncryptedKey encKey)
PKIArchiveOptions(ASN1OctetString keyGenParameters)
PKIArchiveOptions(boolean archiveRemGenPrivKey)
Public Methods
static PKIArchiveOptions getInstance(Object o)
int getType()
ASN1Encodable getValue()
DERObject toASN1Object()
  PKIArchiveOptions ::= CHOICE {
      encryptedPrivKey     [0] EncryptedKey,
      -- the actual value of the private key
      keyGenParameters     [1] KeyGenParameters,
      -- parameters which allow the private key to be re-generated
      archiveRemGenPrivKey [2] BOOLEAN }
      -- set to TRUE if sender wishes receiver to archive the private
      -- key of a key pair that the receiver generates in response to
      -- this request; set to FALSE if no archival is desired.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Constants

public static final int archiveRemGenPrivKey

Constant Value: 2 (0x00000002)

public static final int encryptedPrivKey

Constant Value: 0 (0x00000000)

public static final int keyGenParameters

Constant Value: 1 (0x00000001)

Public Constructors

public PKIArchiveOptions (EncryptedKey encKey)

public PKIArchiveOptions (ASN1OctetString keyGenParameters)

public PKIArchiveOptions (boolean archiveRemGenPrivKey)

Public Methods

public static PKIArchiveOptions getInstance (Object o)

public int getType ()

public ASN1Encodable getValue ()

public DERObject toASN1Object ()

  PKIArchiveOptions ::= CHOICE {
      encryptedPrivKey     [0] EncryptedKey,
      -- the actual value of the private key
      keyGenParameters     [1] KeyGenParameters,
      -- parameters which allow the private key to be re-generated
      archiveRemGenPrivKey [2] BOOLEAN }
      -- set to TRUE if sender wishes receiver to archive the private
      -- key of a key pair that the receiver generates in response to
      -- this request; set to FALSE if no archival is desired.