API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. IdentityScope View Source
Author(s)
Benjamin Renaud
Since
Version
1.55 05/11/17
Serial
Hierarchy
 Object
      Identity
          IdentityScope
Implements
Subclasses
Description
@Deprecated
publicabstract abstract class IdentityScope
  This class represents a scope for identities.
See also:    Identity Signer Principal Key
Constructors
protected IdentityScope ()
This constructor is used for serialization only and should not be used by subclasses.
public IdentityScope (String name)
  Constructs a new identity scope with the specified name.
public IdentityScope (String name, IdentityScope scope) throws KeyManagementException
  Constructs a new identity scope with the specified name and scope.
Methods
Hide/Show inherited methods
public void addCertificate (Certificate certificate) throws KeyManagementException [Inherited From Identity]
  Adds a certificate for this identity.
publicabstract void addIdentity (Identity identity) throws KeyManagementException
  Adds an identity to this identity scope.
public Certificate certificates () [Inherited From Identity]
  Returns a copy of all the certificates for this identity.
publicfinal boolean equals (Object identity) [Inherited From Identity]
  Tests for equality between the specified object and this identity.
pack-private String fullName () [Inherited From Identity]
Returns a parsable name for identity: identityName.scopeName
public Identity getIdentity (Principal principal)
  Retrieves the identity whose name is the same as that of the specified principal.
publicabstract Identity getIdentity (PublicKey key)
  Retrieves the identity with the specified public key.
publicabstract Identity getIdentity (String name)
  Returns the identity in this scope with the specified name (if any).
public String getInfo () [Inherited From Identity]
  Returns general information previously specified for this identity.
publicfinal String getName () [Inherited From Identity]
  Returns this identity's name.
public PublicKey getPublicKey () [Inherited From Identity]
  Returns this identity's public key.
publicfinal IdentityScope getScope () [Inherited From Identity]
  Returns this identity's scope.
publicstatic IdentityScope getSystemScope ()
  Returns the system's identity scope.
public int hashCode () [Inherited From Identity]
  Returns a hashcode for this identity.
publicabstract Enumeration<Identity> identities ()
  Returns an enumeration of all identities in this identity scope.
protected boolean identityEquals (Identity identity) [Inherited From Identity]
  Tests for equality between the specified identity and this identity.
pack-private String printCertificates () [Inherited From Identity]
pack-private String printKeys () [Inherited From Identity]
public void removeCertificate (Certificate certificate) throws KeyManagementException [Inherited From Identity]
  Removes a certificate from this identity.
publicabstract void removeIdentity (Identity identity) throws KeyManagementException
  Removes an identity from this identity scope.
public void setInfo (String info) [Inherited From Identity]
  Specifies a general information string for this identity.
public void setPublicKey (PublicKey key) throws KeyManagementException [Inherited From Identity]
  Sets this identity's public key.
protectedstatic void setSystemScope (IdentityScope scope)
  Sets the system's identity scope.
publicabstract int size ()
  Returns the number of identities within this identity scope.
public String toString () [Overrides Identity]
  Returns a string representation of this identity scope, including its name, its scope name, and the number of identities in this identity scope.
public String toString (boolean detailed) [Inherited From Identity]
  Returns a string representation of this identity, with optionally more details than that provided by the toString method without any arguments.
Fields
Hide/Show inherited fields
pack-private Vector certificates [Inherited From Identity]
The certificates for this identity.
pack-private String info [Inherited From Identity]
Generic, descriptive information about the identity.
pack-private IdentityScope scope [Inherited From Identity]
The scope of the identity.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar