PemReader
Contents
[
Hide
]Inheritance: java.lang.Object
public class PemReader
PEM format reader.
Constructors
Constructor | Description |
---|---|
PemReader() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getPrivateKey(InputStream pem) | Reads private key from stream |
getPrivateKey(String pemFile) | Reads private key from PEM file |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PemReader()
public PemReader()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getPrivateKey(InputStream pem)
public static PrivateKey getPrivateKey(InputStream pem)
Reads private key from stream
Parameters:
Parameter | Type | Description |
---|---|---|
pem | java.io.InputStream | Stream to read from |
Returns: java.security.PrivateKey - Certificate that was read
getPrivateKey(String pemFile)
public static PrivateKey getPrivateKey(String pemFile)
Reads private key from PEM file
Parameters:
Parameter | Type | Description |
---|---|---|
pemFile | java.lang.String | path to file to read from |
Returns: java.security.PrivateKey - Certificate that was read
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |