public class JmsSslManagementUtils extends Object
Constructor and Description |
---|
JmsSslManagementUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
createTrustStore(File trustStoreFile,
Certificate certificate) |
static Certificate |
getBrokerCertificate(KeyStore keyStore) |
static KeyStore |
getBrokerKeyStore(KeyStoreFactory keyStoreFactory,
char[] keystoreAndKeyPassword) |
static KeyStore |
getClientKeyStore(File file,
KeyStoreFactory keyStoreFactory,
char[] keystoreAndKeyPassword) |
static boolean |
isJmsKeystoreManagementDisabled() |
static org.apache.activemq.broker.SslContext |
newSslContext(KeyStore keyStore,
char[] keyStorePassword) |
@NotNull public static KeyStore getClientKeyStore(File file, KeyStoreFactory keyStoreFactory, char[] keystoreAndKeyPassword) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException
@NotNull public static KeyStore getBrokerKeyStore(KeyStoreFactory keyStoreFactory, char[] keystoreAndKeyPassword) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException
@NotNull public static org.apache.activemq.broker.SslContext newSslContext(KeyStore keyStore, char[] keyStorePassword) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
public static boolean isJmsKeystoreManagementDisabled()
public static Certificate getBrokerCertificate(KeyStore keyStore) throws KeyStoreException
KeyStoreException
public static void createTrustStore(File trustStoreFile, Certificate certificate) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException, UnrecoverableKeyException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.