Skip to Content
Java in a Nutshell, 5th Edition
book

Java in a Nutshell, 5th Edition

by David Flanagan
March 2005
Intermediate to advanced
1254 pages
104h 21m
English
O'Reilly Media, Inc.
Content preview from Java in a Nutshell, 5th Edition

Name

IdentityScope

Synopsis

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.

java.security.IdentityScope

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( );  
}

Passed To

Identity.Identity( ), Signer.Signer( )

Returned By

Identity.getScope( )

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java in a Nutshell, 8th Edition

Java in a Nutshell, 8th Edition

Benjamin J. Evans, Jason Clark, David Flanagan
Java in a Nutshell, 7th Edition

Java in a Nutshell, 7th Edition

Benjamin J. Evans, David Flanagan
Learning Java, 5th Edition

Learning Java, 5th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Learning Java, 4th Edition

Learning Java, 4th Edition

Patrick Niemeyer, Daniel Leuck

Publisher Resources

ISBN: 0596007736Supplemental ContentErrata Page