|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kth.pdc.grid.utility.PrivateKeyReader
public class PrivateKeyReader
This class is used to read a private key.
| Constructor Summary | |
|---|---|
PrivateKeyReader()
|
|
| Method Summary | |
|---|---|
static PrivateKey |
read(BufferedInputStream bin)
Reads the private key form the stream that was given in the constructor. |
static PrivateKey |
read(BufferedInputStream bin,
org.bouncycastle.openssl.PasswordFinder finder)
Reads the private key form the stream that was given in the constructor. |
static PrivateKey |
read(BufferedInputStream bin,
String passwd)
Reads the private key form the stream that was given in the constructor. |
static void |
skipLine(BufferedInputStream stream)
|
| 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 PrivateKey read(BufferedInputStream bin,
org.bouncycastle.openssl.PasswordFinder finder)
throws Exception
KeyException - Thrown if the key reading fails.
Exception
public static PrivateKey read(BufferedInputStream bin)
throws Exception
KeyException - Thrown if the key reading fails.
Exception
public static PrivateKey read(BufferedInputStream bin,
String passwd)
throws Exception
KeyException - Thrown if the key reading fails.
Exception
public static void skipLine(BufferedInputStream stream)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||