|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.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. |
static void |
skipLine(java.io.BufferedInputStream stream)
|
Methods inherited from class java.lang.Object |
equals, 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.lang.Exception
java.security.KeyException
- Thrown if the key reading fails.
java.lang.Exception
public static java.security.PrivateKey read(java.io.BufferedInputStream bin) throws java.lang.Exception
java.security.KeyException
- Thrown if the key reading fails.
java.lang.Exception
public static java.security.PrivateKey read(java.io.BufferedInputStream bin, java.lang.String passwd) throws java.lang.Exception
java.security.KeyException
- Thrown if the key reading fails.
java.lang.Exception
public static void skipLine(java.io.BufferedInputStream stream) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |