Uses of Class java.security.UnrecoverableKeyException (Java Platform SE 8 )
Date: 2026-01-21

## Uses of Class
java.security.UnrecoverableKeyException

- Packages that use UnrecoverableKeyException
  Package | Description
  --- | ---
  java.security | Provides the classes and interfaces for the security framework.
  javax.net.ssl | Provides classes for the secure socket package.

- - ### Uses of UnrecoverableKeyException in java.security

    Methods in java.security that throw UnrecoverableKeyException
    Modifier and Type | Method and Description
    --- | ---
    `abstract Key` | KeyStoreSpi.`engineGetKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.
    `Key` | KeyStore.`getKey(String alias, char[] password)` Returns the key associated with the given alias, using the given password to recover it.

  - ### Uses of UnrecoverableKeyException in javax.net.ssl

    Methods in javax.net.ssl that throw UnrecoverableKeyException
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | KeyManagerFactorySpi.`engineInit(KeyStore ks, char[] password)` Initializes this factory with a source of key material.
    `void` | KeyManagerFactory.`init(KeyStore ks, char[] password)` Initializes this factory with a source of key material.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.