Package org.bouncycastle.asn1.crmf
Class PKIArchiveOptions
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.PKIArchiveOptions
- All Implemented Interfaces:
ASN1Choice
,ASN1Encodable
,Encodable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionPKIArchiveOptions
(boolean archiveRemGenPrivKey) PKIArchiveOptions
(ASN1OctetString keyGenParameters) PKIArchiveOptions
(EncryptedKey encKey) -
Method Summary
Modifier and TypeMethodDescriptionstatic PKIArchiveOptions
int
getType()
getValue()
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.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
encryptedPrivKey
public static final int encryptedPrivKey- See Also:
-
keyGenParameters
public static final int keyGenParameters- See Also:
-
archiveRemGenPrivKey
public static final int archiveRemGenPrivKey- See Also:
-
-
Constructor Details
-
PKIArchiveOptions
-
PKIArchiveOptions
-
PKIArchiveOptions
public PKIArchiveOptions(boolean archiveRemGenPrivKey)
-
-
Method Details
-
getInstance
-
getType
public int getType() -
getValue
-
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.
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-