public class PKIArchiveOptions extends ASN1Encodable implements ASN1Choice
Modifier and Type | Field and Description |
---|---|
static int |
archiveRemGenPrivKey |
static int |
encryptedPrivKey |
static int |
keyGenParameters |
BER, DER
Constructor and Description |
---|
PKIArchiveOptions(ASN1OctetString keyGenParameters) |
PKIArchiveOptions(boolean archiveRemGenPrivKey) |
PKIArchiveOptions(EncryptedKey encKey) |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, 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(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.
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.