| Package | Description | 
|---|---|
| java.security | Provides the classes and interfaces for the security framework. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IdentityScopeDeprecated. 
 This class is no longer used. Its functionality has been
 replaced by  java.security.KeyStore, thejava.security.certpackage, andjava.security.Principal. | 
| class  | SignerDeprecated. 
 This class is no longer used. Its functionality has been
 replaced by  java.security.KeyStore, thejava.security.certpackage, andjava.security.Principal. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| abstract Identity | IdentityScope. getIdentity(String name)Deprecated.  Returns the identity in this scope with the specified name (if any). | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Enumeration<Identity> | IdentityScope. identities()Deprecated.  Returns an enumeration of all identities in this identity scope. | 
| Modifier and Type | Method and 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. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.