Lines Matching refs:identity

66      * The name for this identity.
73 * The public key for this identity.
80 * Generic, descriptive information about the identity.
87 * The scope of the identity.
94 * The certificates for this identity.
108 * Constructs an identity with the specified name and scope.
110 * @param name the identity name.
111 * @param scope the scope of the identity.
113 * @exception KeyManagementException if there is already an identity
126 * Constructs an identity with the specified name and no scope.
128 * @param name the identity name.
135 * Returns this identity's name.
137 * @return the name of this identity.
144 * Returns this identity's scope.
146 * @return the scope of this identity.
153 * Returns this identity's public key.
155 * @return the public key for this identity.
164 * Sets this identity's public key. The old key and all of this
165 * identity's certificates are removed by this operation.
171 * @param key the public key for this identity.
173 * @exception KeyManagementException if another identity in the
174 * identity's scope has the same public key, or if another exception occurs.
192 * Specifies a general information string for this identity.
213 * Returns general information previously specified for this identity.
215 * @return general information about this identity.
224 * Adds a certificate for this identity. If the identity has a public
226 * the identity does not have a public key, the identity's
237 * this identity's public key, or if another exception occurs.
278 * Removes a certificate from this identity.
304 * Returns a copy of all the certificates for this identity.
306 * @return a copy of all the certificates for this identity.
319 * Tests for equality between the specified object and this identity.
327 * @param identity the object to test for equality with this identity.
333 public final boolean equals(Object identity) {
335 if (identity == this) {
339 if (identity instanceof Identity) {
340 Identity i = (Identity)identity;
351 * Tests for equality between the specified identity and this identity.
356 * @param identity the identity to test for equality with this identity.
363 protected boolean identityEquals(Identity identity) {
364 if (!name.equalsIgnoreCase(identity.name))
367 if ((publicKey == null) ^ (identity.publicKey == null))
370 if (publicKey != null && identity.publicKey != null)
371 if (!publicKey.equals(identity.publicKey))
379 * Returns a parsable name for identity: identityName.scopeName
390 * Returns a short string describing this identity, telling its
397 * @return information about this identity, such as its name and the
402 * returning a string describing this identity.
416 * Returns a string representation of this identity, with
426 * @return information about this identity. If <code>detailed</code>
432 * returning a string describing this identity.
481 * Returns a hashcode for this identity.
483 * @return a hashcode for this identity.