Package anbxj
Class Crypto_KeyStoreBuilder_Map
java.lang.Object
anbxj.Crypto_KeyStoreBuilder_Map
Keystore builder mapping key stores and their type/purpose
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a Crypto_KeyStoreBuilder_Map with the given key store settings map.Constructs a Crypto_KeyStoreBuilder_Map with the given map of key stores. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsAlias
(String alias) Checks if the given alias exists in any of the Keystores.Gets the Keystore builder for the specified Keystore type.Gets the key store settings map.Gets the local certificates from all Keystores.getRemoteCertificates
(String alias) Gets the remote certificates for the given alias from all Keystores.
-
Constructor Details
-
Crypto_KeyStoreBuilder_Map
Constructs a Crypto_KeyStoreBuilder_Map with the given map of key stores.- Parameters:
ksb
- the map of key stores
-
Crypto_KeyStoreBuilder_Map
Constructs a Crypto_KeyStoreBuilder_Map with the given key store settings map.- Parameters:
kss
- the key store settings map
-
-
Method Details
-
getKeyStoreBuilder
Gets the Keystore builder for the specified Keystore type.- Parameters:
kst
- the Keystore type- Returns:
- the Keystore builder
-
containsAlias
Checks if the given alias exists in any of the Keystores.- Parameters:
alias
- the alias to check- Returns:
- true if the alias exists in any Keystore, false otherwise
-
getKeyStoreSettings_Map
Gets the key store settings map.- Returns:
- the key store settings map
-
getLocaleCertificates
Gets the local certificates from all Keystores.- Returns:
- a map containing Keystore types and their corresponding local certificates
-
getRemoteCertificates
Gets the remote certificates for the given alias from all Keystores.- Parameters:
alias
- the alias to get remote certificates for- Returns:
- a map containing Keystore types and their corresponding remote certificates
-