| Package | Description |
|---|---|
| iaik.pkcs.pkcs12 |
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateBag
This class contains a certificate and any associated attributes.
|
class |
KeyBag
This class contains a private key and any associated attributes.
|
class |
PKCS8ShroudedKeyBag
This class contains an encrypted private key and any associated attributes.
|
| Modifier and Type | Method and Description |
|---|---|
static SafeBag |
SafeBag.create(ObjectID oid)
Creates a new SafeBag from a given ObjectID.
|
SafeBag[] |
AuthenticatedSafe.getSafeBags()
Returns the SafeBags this AuthenticatedSafe contains.
|
protected static SafeBag[] |
SafeBag.parseSafeContents(DerInputStream safeContents)
Parses the SafeContents data structure and returns the included SafeBags.
|
protected static SafeBag[] |
SafeBag.parseSafeContents(DerInputStream safeContents,
boolean skipUnsupportedTypes)
Parses the SafeContents data structure and returns the included SafeBags.
|
| Modifier and Type | Method and Description |
|---|---|
protected static byte[] |
SafeBag.encodeSafeContents(SafeBag[] safeBags)
Creates the SafeContants byte array as needed by AuthenticatedSafe
from an array of SafeBags.
|
| Constructor and Description |
|---|
AuthenticatedSafe(int mode,
SafeBag[] safeBags)
Creates a new AuthenticatedSafe containing the given SafeBags with the
desired mode.
|