/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore trustStore) { return createKeyStoreCredentialConfig(trustStore, null, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore trustStore) { return createKeyStoreCredentialConfig(trustStore, null, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig(final KeyStore trustStore) { return createKeyStoreCredentialConfig(trustStore, null, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * @param trustStoreAliases to use in the truststore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final String[] trustStoreAliases) { return createKeyStoreCredentialConfig(trustStore, trustStoreAliases, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * @param trustStoreAliases to use in the truststore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final String[] trustStoreAliases) { return createKeyStoreCredentialConfig(trustStore, trustStoreAliases, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore. * * @param trustStore to create credential config from * @param trustStoreAliases to use in the truststore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final String[] trustStoreAliases) { return createKeyStoreCredentialConfig(trustStore, trustStoreAliases, null, null, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore, keystore and password. * * @param trustStore to create credential config from * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(trustStore, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * @param keyStoreAliases to use in the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore keyStore, final String keyStorePassword, final String[] keyStoreAliases) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, keyStoreAliases); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore, keystore and password. * * @param trustStore to create credential config from * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(trustStore, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied truststore, keystore and password. * * @param trustStore to create credential config from * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore trustStore, final KeyStore keyStore, final String keyStorePassword) { return createKeyStoreCredentialConfig(trustStore, null, keyStore, keyStorePassword, null); }
/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * @param keyStoreAliases to use in the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore keyStore, final String keyStorePassword, final String[] keyStoreAliases) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, keyStoreAliases); }
/** * Creates a KeyStoreCredentialConfig from the supplied keystore and password. * * @param keyStore to create credential config from * @param keyStorePassword to unlock the keystore * @param keyStoreAliases to use in the keystore * * @return credential config */ public static CredentialConfig createKeyStoreCredentialConfig( final KeyStore keyStore, final String keyStorePassword, final String[] keyStoreAliases) { return createKeyStoreCredentialConfig(null, null, keyStore, keyStorePassword, keyStoreAliases); }