|
Bouncy Castle Cryptography Library 1.69 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.gpg.SExprParser
A parser for secret keys stored in SExpr
Constructor Summary | |
SExprParser(PGPDigestCalculatorProvider digestProvider)
Base constructor. |
Method Summary | |
PGPSecretKey |
parseSecretKey(java.io.InputStream inputStream,
PBEProtectionRemoverFactory keyProtectionRemoverFactory,
KeyFingerPrintCalculator fingerPrintCalculator)
Parse a secret key from one of the GPG S expression keys. |
PGPSecretKey |
parseSecretKey(java.io.InputStream inputStream,
PBEProtectionRemoverFactory keyProtectionRemoverFactory,
PGPPublicKey pubKey)
Parse a secret key from one of the GPG S expression keys associating it with the passed in public key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SExprParser(PGPDigestCalculatorProvider digestProvider)
digestProvider
- a provider for digest calculations. Used to confirm key protection hashes.Method Detail |
public PGPSecretKey parseSecretKey(java.io.InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, PGPPublicKey pubKey) throws java.io.IOException, PGPException
java.io.IOException
PGPException
public PGPSecretKey parseSecretKey(java.io.InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator) throws java.io.IOException, PGPException
java.io.IOException
PGPException
|
Bouncy Castle Cryptography Library 1.69 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |