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

## Uses of Class
java.security.Identity

- Packages that use Identity
  Package | Description
  --- | ---
  java.security | Provides the classes and interfaces for the security framework.

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

    Subclasses of Identity in java.security
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `IdentityScope` | Deprecated. This class is no longer used. Its functionality has been replaced by `java.security.KeyStore`, the `java.security.cert` package, and `java.security.Principal`.
    `class` | `Signer` | Deprecated. This class is no longer used. Its functionality has been replaced by `java.security.KeyStore`, the `java.security.cert` package, and `java.security.Principal`.

    Methods in java.security that return Identity
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Identity` | IdentityScope.`getIdentity​(String name)` | Deprecated. Returns the identity in this scope with the specified name (if any).
    `Identity` | IdentityScope.`getIdentity​(Principal principal)` | Deprecated. Retrieves the identity whose name is the same as that of the specified principal.
    `abstract Identity` | IdentityScope.`getIdentity​(PublicKey key)` | Deprecated. Retrieves the identity with the specified public key.

    Methods in java.security that return types with arguments of type Identity
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract Enumeration<Identity>` | IdentityScope.`identities​()` | Deprecated. Returns an enumeration of all identities in this identity scope.

    Methods in java.security with parameters of type Identity
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | IdentityScope.`addIdentity​(Identity identity)` | Deprecated. Adds an identity to this identity scope.
    `protected boolean` | Identity.`identityEquals​(Identity identity)` | Deprecated. Tests for equality between the specified identity and this identity.
    `abstract void` | IdentityScope.`removeIdentity​(Identity identity)` | Deprecated. Removes an identity from this identity scope.