Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.security.Identity

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

Uses of Identity in java.security

Subclasses of Identity in java.security
`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
`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).

Methods in java.security that return types with arguments of type Identity
`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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.