IdentityScope


IdentityScope java.security

Java 1.1; Deprecated in 1.2 @Deprecated serializable

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

Passed To

Identity.Identity( ) , Signer.Signer( )

Returned By

Identity.getScope( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net