Uses of Enum
de.captaingoldfish.scim.sdk.client.keys.KeyStoreSupporter.KeyStoreType
Packages that use KeyStoreSupporter.KeyStoreType
-
Uses of KeyStoreSupporter.KeyStoreType in de.captaingoldfish.scim.sdk.client.keys
Methods in de.captaingoldfish.scim.sdk.client.keys that return KeyStoreSupporter.KeyStoreTypeModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static KeyStoreSupporter.KeyStoreType[]KeyStoreSupporter.KeyStoreType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.captaingoldfish.scim.sdk.client.keys that return types with arguments of type KeyStoreSupporter.KeyStoreTypeModifier and TypeMethodDescriptionKeyStoreSupporter.KeyStoreType.byFileExtension(String fileExtension) tries to find the correct keystore type by a file extensionMethods in de.captaingoldfish.scim.sdk.client.keys with parameters of type KeyStoreSupporter.KeyStoreTypeModifier and TypeMethodDescriptionstatic KeyStoreKeyStoreSupporter.convertKeyStore(KeyStore keyStore, String keyStorePassword, KeyStoreSupporter.KeyStoreType keyStoreType) This method will convert a given keystore with all its entries into another type of keystore.static KeyStoreKeyStoreSupporter.createEmptyKeyStore(KeyStoreSupporter.KeyStoreType keyStoreType, String keystorePassword) creates an empty keystorestatic KeyStoreKeyStoreSupporter.mergeKeyStores(KeyStore keyStore1, String password1, KeyStore keyStore2, String password2, KeyStoreSupporter.KeyStoreType keyStoreType, String mergedKeyStoreKeyPassword) this method will merge all accessible entries from the given keystores into a single keystore
WARNING:
It might be that keystore1 and 2 may contain different entries under the same alias.static KeyStoreKeyStoreSupporter.readKeyStore(byte[] keyStoreBytes, KeyStoreSupporter.KeyStoreType keyStoreType, String keyStorePassword) will read a byte array to a keystore.static KeyStoreKeyStoreSupporter.readKeyStore(InputStream keyStoreStream, KeyStoreSupporter.KeyStoreType keyStoreType, String keyStorePassword) will read an input stream to a keystore.static KeyStoreKeyStoreSupporter.readTruststore(byte[] truststoreBytes, KeyStoreSupporter.KeyStoreType keyStoreType) will read a keystore from the given byte array that can only be used as truststorestatic KeyStoreKeyStoreSupporter.readTruststore(byte[] truststoreBytes, KeyStoreSupporter.KeyStoreType keyStoreType, String password) will read a keystore from the given byte array that can only be used as truststorestatic KeyStoreKeyStoreSupporter.readTruststore(InputStream truststoreStream, KeyStoreSupporter.KeyStoreType keyStoreType) will read a keystore from the given inputstream that can only be used as truststorestatic KeyStoreKeyStoreSupporter.readTruststore(InputStream truststoreStream, KeyStoreSupporter.KeyStoreType keyStoreType, String password) will read a keystore from the given inputstream that can only be used as truststorestatic ProviderKeyStoreSupporter.selectProvider(KeyStoreSupporter.KeyStoreType keyStoreType) this method will make sure that the correct security provider is chosen for the different keystore types.static KeyStoreKeyStoreSupporter.toKeyStore(byte[] privateKeyBytes, byte[] certificateBytes, String alias, String keystorePassword, KeyStoreSupporter.KeyStoreType keyStoreType) creates a keystore from the givenprivateKeyand thecertificatestatic KeyStoreKeyStoreSupporter.toKeyStore(Certificate certificate, String alias, String keystorePassword, KeyStoreSupporter.KeyStoreType keyStoreType) creates a keystore from the givencertificatestatic KeyStoreKeyStoreSupporter.toKeyStore(PrivateKey privateKey, Certificate certificate, String alias, String keystorePassword, KeyStoreSupporter.KeyStoreType keyStoreType) creates a keystore from the givenprivateKeyand thecertificatestatic voidKeyStoreSupporter.tryCopyEntry(KeyStore keyStore, String keyStorePassword, String keyPassword, KeyStoreSupporter.KeyStoreType keyStoreType, KeyStore newKeyStore, String alias) this method tries to access an entry of the givenkeyStoreand will add it to thenewKeyStoreobject no matter if the given alias is a key-entry or a certificate entryConstructors in de.captaingoldfish.scim.sdk.client.keys with parameters of type KeyStoreSupporter.KeyStoreTypeModifierConstructorDescriptionKeyStoreWrapper(byte[] keyStore, KeyStoreSupporter.KeyStoreType keyStoreType, String keystorePassword) constructor to befill the entries for this class
it is expected that the keystore-password has already been entered into the keystore object therefore we wont need it anymoreKeyStoreWrapper(byte[] keyStore, KeyStoreSupporter.KeyStoreType keyStoreType, String keystorePassword, KeyStoreWrapper.AliasPasswordPair aliasPasswordPair, KeyStoreWrapper.AliasPasswordPair... aliasPasswordPairs) constructor to befill the entries for this classKeyStoreWrapper(InputStream keyStore, KeyStoreSupporter.KeyStoreType keyStoreType, String keystorePassword) constructor to befill the entries for this class
it is expected that the keystore-password has already been entered into the keystore object therefore we wont need it anymore