Modifier and Type | Field and Description |
---|---|
static int |
archiveRemGenPrivKey |
static int |
encryptedPrivKey |
static int |
keyGenParameters |
Constructor and Description |
---|
PKIArchiveControl(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.
|
ASN1ObjectIdentifier |
getType()
Return the type of this control.
|
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(PKIArchiveOptions pkiArchiveOptions)
pkiArchiveOptions
- the ASN.1 structure that will underlie this control.public ASN1ObjectIdentifier getType()
public ASN1Encodable getValue()
public int getArchiveType()
public boolean isEnvelopedData()
public CMSEnvelopedData getEnvelopedData()
Copyright © 2015. All rights reserved.