Package org.apache.tomcat.util.net.jsse
Class PEMFile
java.lang.Object
org.apache.tomcat.util.net.jsse.PEMFile
RFC 1421 PEM file containing X509 certificates or private keys.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PEMFile
- Throws:
IOException
GeneralSecurityException
-
PEMFile
- Throws:
IOException
GeneralSecurityException
-
PEMFile
public PEMFile(String filename, String password, String keyAlgorithm) throws IOException, GeneralSecurityException - Throws:
IOException
GeneralSecurityException
-
-
Method Details
-
toPEM
- Throws:
CertificateEncodingException
-
getCertificates
-
getPrivateKey
-