public class PKIArchiveOptions
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
Modifier and Type | Field and Description |
---|---|
static int |
archiveRemGenPrivKey |
static int |
encryptedPrivKey |
static int |
keyGenParameters |
Constructor and Description |
---|
PKIArchiveOptions(org.bouncycastle.asn1.ASN1OctetString keyGenParameters) |
PKIArchiveOptions(boolean archiveRemGenPrivKey) |
PKIArchiveOptions(EncryptedKey encKey) |
Modifier and Type | Method and Description |
---|---|
static PKIArchiveOptions |
getInstance(java.lang.Object o) |
int |
getType() |
org.bouncycastle.asn1.ASN1Encodable |
getValue() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
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.
|
public static final int encryptedPrivKey
public static final int keyGenParameters
public static final int archiveRemGenPrivKey
public PKIArchiveOptions(EncryptedKey encKey)
public PKIArchiveOptions(org.bouncycastle.asn1.ASN1OctetString keyGenParameters)
public PKIArchiveOptions(boolean archiveRemGenPrivKey)
public static PKIArchiveOptions getInstance(java.lang.Object o)
public int getType()
public org.bouncycastle.asn1.ASN1Encodable getValue()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
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.
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object