Top Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class PKIArchiveOptions

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Boolean, .ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1TaggedObject, .DERTaggedObject

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
private ASN1Encodable

Constructor Summary

AccessConstructor and Description
private
public
public
public
PKIArchiveOptions(boolean archiveRemGenPrivKey)

Method Summary

Modifier and TypeMethod and Description
public static PKIArchiveOptions
public int
public ASN1Encodable
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

archiveRemGenPrivKeyback to summary
public static final int archiveRemGenPrivKey
encryptedPrivKeyback to summary
public static final int encryptedPrivKey
keyGenParametersback to summary
public static final int keyGenParameters
valueback to summary
private ASN1Encodable value

Constructor Detail

PKIArchiveOptionsback to summary
private PKIArchiveOptions(ASN1TaggedObject tagged)
PKIArchiveOptionsback to summary
public PKIArchiveOptions(EncryptedKey encKey)
PKIArchiveOptionsback to summary
public PKIArchiveOptions(ASN1OctetString keyGenParameters)
PKIArchiveOptionsback to summary
public PKIArchiveOptions(boolean archiveRemGenPrivKey)

Method Detail

getInstanceback to summary
public static PKIArchiveOptions getInstance(Object o)
getTypeback to summary
public int getType()
getValueback to summary
public ASN1Encodable getValue()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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.
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.