Class WrappingPasswordKeyStore


  • public final class WrappingPasswordKeyStore
    extends KeyStore
    A KeyStore which can store TwoWayPassword instances by wrapping another KeyStore which can store SecretKey instances. The passwords are stored by taking the clear password contents and encoding them in UTF-8, and storing the resultant bytes as a SecretKey.
    Author:
    David M. Lloyd
    • Constructor Detail

      • WrappingPasswordKeyStore

        public WrappingPasswordKeyStore​(KeyStore delegate)
        Construct a new instance.
        Parameters:
        delegate - the delegate KeyStore (must not be null)