Package io.undertow.util
Class Certificates
java.lang.Object
io.undertow.util.Certificates
Utility class for dealing with certificates
- Author:
- Stuart Douglas
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoPem(Certificate certificate) Converts a certificate to PEM format.static StringtoPem(X509Certificate certificate) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
BEGIN_CERT
- See Also:
-
END_CERT
- See Also:
-
-
Method Details
-
toPem
@Deprecated(since="2.3.0", forRemoval=true) public static String toPem(X509Certificate certificate) throws CertificateEncodingException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
CertificateEncodingException
-
toPem
Converts a certificate to PEM format.- Parameters:
certificate- the Certificate to recode- Returns:
- The Certificate in PEM format.
- Throws:
CertificateEncodingException- thrown if an encoding error occurs.
-