Identity
public
abstract
class
Identity
extends Object
implements
Principal,
Serializable
| java.lang.Object | |
| ↳ | java.security.Identity |
This class was deprecated
in API level 3.
This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by
java.security.KeyStore, the java.security.cert package,
and java.security.Principal.
This class represents identities: real-world objects such as people, companies or organizations whose identities can be authenticated using their public keys. Identities may also be more abstract (or concrete) constructs, such as daemon threads or smart cards.
All Identity objects have a name and a public key. Names are immutable. Identities may also be scoped. That is, if an Identity is specified to have a particular scope, then the name and public key of the Identity are unique within that scope.
An Identity also has a set of certificates (all certifying its own public key). The Principal names specified in these certificates need not be the same, only the key.
An Identity can be subclassed, to include postal and email addresses, telephone numbers, images of faces and logos, and so on.
See also:
Summary
Public constructors | |
|---|---|
Identity(String name)
Constructs an identity with the specified name and no scope. |
|
Identity(String name, IdentityScope scope)
Constructs an identity with the specified name and scope. |
|
Protected constructors | |
|---|---|
Identity()
Constructor for serialization only. |
|