public class PemReader extends Object
| Constructor and Description |
|---|
PemReader() |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
readPrivateKey(String filePath) |
static PublicKey |
readPublicKey(String filePath) |
public static PrivateKey readPrivateKey(String filePath) throws NoSuchProviderException, NoSuchAlgorithmException, IOException, InvalidKeySpecException
public static PublicKey readPublicKey(String filePath) throws NoSuchProviderException, NoSuchAlgorithmException, IOException, InvalidKeySpecException
Copyright © 2017. All Rights Reserved.