public class SSLCertificateHelper
extends java.lang.Object
| Constructor and Description |
|---|
SSLCertificateHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.security.PrivateKey |
exportDecryptedKey(java.security.KeyStore ks,
java.lang.String alias,
char[] password) |
static java.security.cert.X509Certificate[] |
exportRootCertificates(java.security.KeyStore ks,
java.lang.String alias) |
static java.security.cert.X509Certificate[] |
exportServerCertChain(java.security.KeyStore ks,
java.lang.String alias) |
public static java.security.cert.X509Certificate[] exportRootCertificates(java.security.KeyStore ks,
java.lang.String alias)
throws java.security.KeyStoreException
java.security.KeyStoreExceptionpublic static java.security.cert.X509Certificate[] exportServerCertChain(java.security.KeyStore ks,
java.lang.String alias)
throws java.security.KeyStoreException
java.security.KeyStoreExceptionpublic static java.security.PrivateKey exportDecryptedKey(java.security.KeyStore ks,
java.lang.String alias,
char[] password)
throws java.security.KeyStoreException,
java.security.UnrecoverableKeyException,
java.security.NoSuchAlgorithmException
java.security.KeyStoreExceptionjava.security.UnrecoverableKeyExceptionjava.security.NoSuchAlgorithmExceptionCopyright © 2015-2019. All Rights Reserved.