March 2005
Intermediate to advanced
1254 pages
104h 21m
English
IdentityScope
This
deprecated class was used in Java 1.1 to represent a group of
Identity and Signer objects and
their associated PublicKey and
PrivateKey objects. As of Java 1.2, it has been
replaced by the KeyStore class.
Figure 14-13. java.security.IdentityScope
public abstract class IdentityScope extends Identity { // Public Constructors public IdentityScope(String name); public IdentityScope(String name, IdentityScope scope) throws KeyManagementException; // Protected Constructors protected IdentityScope( ); // Public Class Methods public static IdentityScope getSystemScope( ); // Protected Class Methods protected static void setSystemScope(IdentityScope scope); // Public Instance Methods public abstract void addIdentity(Identity identity) throws KeyManagementException; public abstract Identity getIdentity(String name); public Identity getIdentity(Principal principal); public abstract Identity getIdentity(PublicKey key); public abstract java.util.Enumeration<Identity> identities( ); public abstract void removeIdentity(Identity identity) throws KeyManagementException; public abstract int size( ); // Public Methods Overriding Identity public String toString( ); }
Identity.Identity( ), Signer.Signer(
)
Identity.getScope( )