Uses of Class java.security.KeyManagementException (Java SE 9 & JDK 9 )

## Uses of Class
java.security.KeyManagementException

- Packages that use KeyManagementException
  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 KeyManagementException in java.security

    Methods in java.security that throw KeyManagementException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Identity.`addCertificate​(Certificate certificate)` | Deprecated. Adds a certificate for this identity.
    `abstract void` | IdentityScope.`addIdentity​(Identity identity)` | Deprecated. Adds an identity to this identity scope.
    `void` | Identity.`removeCertificate​(Certificate certificate)` | Deprecated. Removes a certificate from this identity.
    `abstract void` | IdentityScope.`removeIdentity​(Identity identity)` | Deprecated. Removes an identity from this identity scope.
    `void` | Identity.`setPublicKey​(PublicKey key)` | Deprecated. Sets this identity's public key.

    Constructors in java.security that throw KeyManagementException
    Constructor | Description
    --- | ---
    `Identity​(String name, IdentityScope scope)` | Deprecated. Constructs an identity with the specified name and scope.
    `IdentityScope​(String name, IdentityScope scope)` | Deprecated. Constructs a new identity scope with the specified name and scope.
    `Signer​(String name, IdentityScope scope)` | Deprecated. Creates a signer with the specified identity name and scope.

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

    Methods in javax.net.ssl that throw KeyManagementException
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected abstract void` | SSLContextSpi.`engineInit​(KeyManager[] km, TrustManager[] tm, SecureRandom sr)` | Initializes this context.
    `void` | SSLContext.`init​(KeyManager[] km, TrustManager[] tm, SecureRandom random)` | Initializes this context.