public class PemReader extends Object
PEM format reader.
| Constructor and Description |
|---|
PemReader() |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
getPrivateKey(InputStream pem)
Reads private key from stream
|
static PrivateKey |
getPrivateKey(String pemFile)
Reads private key from PEM file
|
public static PrivateKey getPrivateKey(String pemFile)
Reads private key from PEM file
pemFile - path to file to read frompublic static PrivateKey getPrivateKey(InputStream pem)
Reads private key from stream
pem - Stream to read fromCopyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.