|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.cert.crmf.PKIArchiveControl
Carrier for a PKIArchiveOptions structure.
Field Summary | |
static int |
archiveRemGenPrivKey
|
static int |
encryptedPrivKey
|
static int |
keyGenParameters
|
Constructor Summary | |
PKIArchiveControl(org.bouncycastle.asn1.crmf.PKIArchiveOptions pkiArchiveOptions)
Basic constructor - build from an PKIArchiveOptions structure. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int encryptedPrivKey
public static final int keyGenParameters
public static final int archiveRemGenPrivKey
Constructor Detail |
public PKIArchiveControl(org.bouncycastle.asn1.crmf.PKIArchiveOptions pkiArchiveOptions)
pkiArchiveOptions
- the ASN.1 structure that will underlie this control.Method Detail |
public org.bouncycastle.asn1.ASN1ObjectIdentifier getType()
getType
in interface Control
public org.bouncycastle.asn1.ASN1Encodable getValue()
getValue
in interface Control
public int getArchiveType()
public boolean isEnvelopedData()
public CMSEnvelopedData getEnvelopedData() throws CRMFException
CRMFException
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |