public class PKIArchiveOptions
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
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 (OCTET STRING) archiveRemGenPrivKey [2] BOOLEAN } -- set to TRUE if sender wishes receiver to archive the private key of a key pair which the receiver generates in response to this request; set to FALSE if no archival is desired.
Constructor and Description |
---|
PKIArchiveOptions(org.bouncycastle.asn1.ASN1Encodable obj,
int tag) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1Boolean |
getArchiveRemGenPrivKey() |
EncryptedKey |
getEncryptedKey() |
static PKIArchiveOptions |
getInstance(org.bouncycastle.asn1.ASN1Primitive obj) |
static PKIArchiveOptions |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject tagObj,
boolean explicit) |
org.bouncycastle.asn1.DEROctetString |
getKeyGenParameters() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
java.lang.String |
toString() |
public PKIArchiveOptions(org.bouncycastle.asn1.ASN1Encodable obj, int tag)
public EncryptedKey getEncryptedKey()
public org.bouncycastle.asn1.DEROctetString getKeyGenParameters()
public org.bouncycastle.asn1.ASN1Boolean getArchiveRemGenPrivKey()
public static PKIArchiveOptions getInstance(org.bouncycastle.asn1.ASN1Primitive obj)
public static PKIArchiveOptions getInstance(org.bouncycastle.asn1.ASN1TaggedObject tagObj, boolean explicit)
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Agencia de Tecnología y Certificación Electrónica. All Rights Reserved.