34 * their public keys. Identities may also be more abstract (or concrete)
35 * constructs, such as daemon threads or smart cards.
36 *
37 * <p>All Identity objects have a name and a public key. Names are
38 * immutable. Identities may also be scoped. That is, if an Identity is
39 * specified to have a particular scope, then the name and public
40 * key of the Identity are unique within that scope.
41 *
42 * <p>An Identity also has a set of certificates (all certifying its own
43 * public key). The Principal names specified in these certificates need
44 * not be the same, only the key.
45 *
46 * <p>An Identity can be subclassed, to include postal and email addresses,
47 * telephone numbers, images of faces and logos, and so on.
48 *
49 * @see IdentityScope
50 * @see Signer
51 * @see Principal
52 *
53 * @author Benjamin Renaud
54 * @deprecated This class is no longer used. Its functionality has been
55 * replaced by {@code java.security.KeyStore}, the
56 * {@code java.security.cert} package, and
57 * {@code java.security.Principal}.
58 */
59 @Deprecated(since="1.2")
60 public abstract class Identity implements Principal, Serializable {
61
62 /** use serialVersionUID from JDK 1.1.x for interoperability */
63 private static final long serialVersionUID = 3609922007826600659L;
64
65 /**
66 * The name for this identity.
67 *
68 * @serial
69 */
70 private String name;
71
72 /**
73 * The public key for this identity.
|
34 * their public keys. Identities may also be more abstract (or concrete)
35 * constructs, such as daemon threads or smart cards.
36 *
37 * <p>All Identity objects have a name and a public key. Names are
38 * immutable. Identities may also be scoped. That is, if an Identity is
39 * specified to have a particular scope, then the name and public
40 * key of the Identity are unique within that scope.
41 *
42 * <p>An Identity also has a set of certificates (all certifying its own
43 * public key). The Principal names specified in these certificates need
44 * not be the same, only the key.
45 *
46 * <p>An Identity can be subclassed, to include postal and email addresses,
47 * telephone numbers, images of faces and logos, and so on.
48 *
49 * @see IdentityScope
50 * @see Signer
51 * @see Principal
52 *
53 * @author Benjamin Renaud
54 * @since 1.1
55 * @deprecated This class is no longer used. Its functionality has been
56 * replaced by {@code java.security.KeyStore}, the
57 * {@code java.security.cert} package, and
58 * {@code java.security.Principal}.
59 */
60 @Deprecated(since="1.2")
61 public abstract class Identity implements Principal, Serializable {
62
63 /** use serialVersionUID from JDK 1.1.x for interoperability */
64 private static final long serialVersionUID = 3609922007826600659L;
65
66 /**
67 * The name for this identity.
68 *
69 * @serial
70 */
71 private String name;
72
73 /**
74 * The public key for this identity.
|