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