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.
    David M. Lloyd
    • Constructor Detail

      • WrappingPasswordKeyStore

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