|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pkcs.PKCS12SafeBagFactory
Factory that materialises the PKCS12SafeBags carried in one ContentInfo of a
PFX's AuthenticatedSafe. Use the single-argument constructor for plain content
infos and the two-argument constructor with an InputDecryptorProvider for
content infos.
| Constructor Summary | |
PKCS12SafeBagFactory(org.bouncycastle.asn1.pkcs.ContentInfo info)
Construct a factory over a plain (unencrypted) ContentInfo. |
|
PKCS12SafeBagFactory(org.bouncycastle.asn1.pkcs.ContentInfo info,
InputDecryptorProvider inputDecryptorProvider)
Construct a factory over an ContentInfo, decrypting its contents with the supplied provider. |
|
| Method Summary | |
PKCS12SafeBag[] |
getSafeBags()
Return the PKCS12SafeBags contained in the ContentInfo this factory was created over. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PKCS12SafeBagFactory(org.bouncycastle.asn1.pkcs.ContentInfo info)
info - the ContentInfo holding the SafeContents.
java.lang.IllegalArgumentException - if is an ContentInfo.
public PKCS12SafeBagFactory(org.bouncycastle.asn1.pkcs.ContentInfo info,
InputDecryptorProvider inputDecryptorProvider)
throws PKCSException
info - the encrypted ContentInfo.inputDecryptorProvider - provider able to produce a decryptor matching the
algorithm identifier carried by .
PKCSException - if decryption fails.
java.lang.IllegalArgumentException - if is not an ContentInfo.| Method Detail |
public PKCS12SafeBag[] getSafeBags()
PKCS12SafeBags contained in the ContentInfo this factory was created over.
|
Bouncy Castle Cryptography Library 1.85 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||