public class CertificateUtils extends Object
| Constructor and Description |
|---|
CertificateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKey |
getPublicKeyFromString(String certificateString)
Get RSA public key from X.509 certificate string (full crt file content, including header and footer)
|
public static RSAPublicKey getPublicKeyFromString(String certificateString) throws CertificateException, UnsupportedEncodingException
certificateString - certificate stringCertificateExceptionUnsupportedEncodingExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.