Lines Matching refs:identity

40  * expected, that different types of identity scopes will
107 * Constructs a new identity scope with the specified name.
116 * Constructs a new identity scope with the specified name and scope.
119 * @param scope the scope for the new identity scope.
121 * @exception KeyManagementException if there is already an identity
130 * Returns the system's identity scope.
132 * @return the system's identity scope, or {@code null} if none has been
146 * Sets the system's identity scope.
151 * as its argument to see if it's ok to set the identity scope.
157 * setting the identity scope.
168 * Returns the number of identities within this identity scope.
170 * @return the number of identities within this identity scope.
175 * Returns the identity in this scope with the specified name (if any).
177 * @param name the name of the identity to be retrieved.
179 * @return the identity named <code>name</code>, or null if there are
185 * Retrieves the identity whose name is the same as that of the
188 * @param principal the principal corresponding to the identity
191 * @return the identity whose name is the same as that of the
200 * Retrieves the identity with the specified public key.
202 * @param key the public key for the identity to be returned.
204 * @return the identity with the given key, or null if there are
210 * Adds an identity to this identity scope.
212 * @param identity the identity to be added.
214 * @exception KeyManagementException if the identity is not
215 * valid, a name conflict occurs, another identity has the same
216 * public key as the identity being added, or another exception
218 public abstract void addIdentity(Identity identity)
222 * Removes an identity from this identity scope.
224 * @param identity the identity to be removed.
226 * @exception KeyManagementException if the identity is missing,
229 public abstract void removeIdentity(Identity identity)
233 * Returns an enumeration of all identities in this identity scope.
235 * @return an enumeration of all identities in this identity scope.
240 * Returns a string representation of this identity scope, including
242 * identity scope.
244 * @return a string representation of this identity scope.