## 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 and 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 and 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 and 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.

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, 2015, Oracle and/or its affiliates. All rights reserved.