Class PrivateKeyResolver


  • public class PrivateKeyResolver
    extends KeyResolverSpi
    Resolves a PrivateKey within a KeyStore based on the KeyInfo hints. For X509Data hints, the certificate associated with the private key entry must match. For a KeyName hint, the KeyName must match the alias of a PrivateKey entry within the KeyStore.
    • Constructor Detail

      • PrivateKeyResolver

        public PrivateKeyResolver​(java.security.KeyStore keyStore,
                                  char[] password)
        Constructor.