|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.edg.security.trustmanager.PrivateKeyReader
This class is used to read a private key.
Constructor Summary | |
PrivateKeyReader()
|
Method Summary | |
static java.security.PrivateKey |
read(java.io.BufferedInputStream bin)
Reads the private key form the stream that was given in the constructor. |
static java.security.PrivateKey |
read(java.io.BufferedInputStream bin,
org.bouncycastle.openssl.PasswordFinder finder)
Reads the private key form the stream that was given in the constructor. |
static java.security.PrivateKey |
read(java.io.BufferedInputStream bin,
java.lang.String passwd)
Reads the private key form the stream that was given in the constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrivateKeyReader()
Method Detail |
public static java.security.PrivateKey read(java.io.BufferedInputStream bin, org.bouncycastle.openssl.PasswordFinder finder) throws java.security.KeyException
java.security.KeyException
- Thrown if the key reading fails.public static java.security.PrivateKey read(java.io.BufferedInputStream bin) throws java.security.KeyException
java.security.KeyException
- Thrown if the key reading fails.public static java.security.PrivateKey read(java.io.BufferedInputStream bin, java.lang.String passwd) throws java.security.KeyException
java.security.KeyException
- Thrown if the key reading fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |