Modifier and Type | Field and Description |
---|---|
static int |
archiveRemGenPrivKey |
static int |
encryptedPrivKey |
static int |
keyGenParameters |
Constructor and Description |
---|
PKIArchiveControl(org.bouncycastle.asn1.crmf.PKIArchiveOptions pkiArchiveOptions)
Basic constructor - build from an PKIArchiveOptions structure.
|
Modifier and Type | Method and Description |
---|---|
int |
getArchiveType()
Return the archive control type, one of: encryptedPrivKey,keyGenParameters,or archiveRemGenPrivKey.
|
CMSEnvelopedData |
getEnvelopedData()
Return the enveloped data structure contained in this control.
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getType()
Return the type of this control.
|
org.bouncycastle.asn1.ASN1Encodable |
getValue()
Return the underlying ASN.1 object.
|
boolean |
isEnvelopedData()
Return whether this control contains enveloped data.
|
public static final int encryptedPrivKey
public static final int keyGenParameters
public static final int archiveRemGenPrivKey
public PKIArchiveControl(org.bouncycastle.asn1.crmf.PKIArchiveOptions pkiArchiveOptions)
pkiArchiveOptions
- the ASN.1 structure that will underlie this control.public org.bouncycastle.asn1.ASN1ObjectIdentifier getType()
public org.bouncycastle.asn1.ASN1Encodable getValue()
public int getArchiveType()
public boolean isEnvelopedData()
public CMSEnvelopedData getEnvelopedData() throws CRMFException
CRMFException