public class SecurityUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static RSAPrivateKey |
getPrivateKey(String filename) |
static X509Certificate |
getPublicCertificate(String fileLoc) |
static RSAPublicKey |
getPublicKey(String filename) |
static String |
removeSecretsFromUrl(String url) |
public static X509Certificate getPublicCertificate(String fileLoc) throws IOException, CertificateException
IOExceptionCertificateExceptionpublic static RSAPrivateKey getPrivateKey(String filename) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic static RSAPublicKey getPublicKey(String filename) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionCopyright © 2024. All rights reserved.