public class PEMFile extends Object
| Constructor and Description |
|---|
PEMFile(String filename) |
PEMFile(String filename,
String password) |
PEMFile(String filename,
String password,
String keyAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
List<X509Certificate> |
getCertificates() |
PrivateKey |
getPrivateKey() |
public PEMFile(String filename) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic PEMFile(String filename, String password) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic PEMFile(String filename, String password, String keyAlgorithm) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic List<X509Certificate> getCertificates()
public PrivateKey getPrivateKey()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.