Package org.wildfly.security.keystore
Class WrappingPasswordKeyStore
- java.lang.Object
-
- java.security.KeyStore
-
- org.wildfly.security.keystore.WrappingPasswordKeyStore
-
public final class WrappingPasswordKeyStore extends KeyStore
AKeyStorewhich can storeTwoWayPasswordinstances by wrapping anotherKeyStorewhich can storeSecretKeyinstances. The passwords are stored by taking the clear password contents and encoding them in UTF-8, and storing the resultant bytes as aSecretKey.- Author:
- David M. Lloyd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.security.KeyStore
KeyStore.Builder, KeyStore.CallbackHandlerProtection, KeyStore.Entry, KeyStore.LoadStoreParameter, KeyStore.PasswordProtection, KeyStore.PrivateKeyEntry, KeyStore.ProtectionParameter, KeyStore.SecretKeyEntry, KeyStore.TrustedCertificateEntry
-
-
Constructor Summary
Constructors Constructor Description WrappingPasswordKeyStore(KeyStore delegate)Construct a new instance.
-
Method Summary
-
Methods inherited from class java.security.KeyStore
aliases, containsAlias, deleteEntry, entryInstanceOf, getCertificate, getCertificateAlias, getCertificateChain, getCreationDate, getDefaultType, getEntry, getInstance, getInstance, getInstance, getInstance, getInstance, getKey, getProvider, getType, isCertificateEntry, isKeyEntry, load, load, setCertificateEntry, setEntry, setKeyEntry, setKeyEntry, size, store, store
-
-
-
-
Constructor Detail
-
WrappingPasswordKeyStore
public WrappingPasswordKeyStore(KeyStore delegate)
Construct a new instance.- Parameters:
delegate- the delegateKeyStore(must not benull)
-
-