jsdsi
Class Principal
java.lang.Object
  
jsdsi.Obj
      
jsdsi.Principal
- All Implemented Interfaces: 
 - java.security.Principal, java.io.Serializable, Subject
 
- Direct Known Subclasses: 
 - PublicKey, PublicKeyHash
 
- public abstract class Principal
- extends Obj
- implements Subject, java.security.Principal
   
A principal: an entity that can define names and can grant and
 receive authorizations.  Represented by a public key.
- Version:
 
  - $Revision: 1.3.2.1 $ $Date: 2005/11/08 03:12:52 $
 
- Author:
 
  - Sameer Ajmani, Sean Radford
 
- See Also:
 - Serialized Form
 
 
 
 
| Fields inherited from class jsdsi.Obj | 
_obj | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
 
| Methods inherited from interface java.security.Principal | 
equals, hashCode, toString | 
 
Principal
public Principal()
samePrincipalAs
public abstract boolean samePrincipalAs(Principal p)
- Compares this 
Principal with another.
 
- Parameters:
 p - another principal to compare this one with.
- Returns:
 true if both principal are the same (with
 respect to their public key), false otherwise.
 
 
getName
public java.lang.String getName()
- Specified by:
 getName in interface java.security.Principal
 
- See Also:
 Principal.getName()
 
getURIs
public abstract java.net.URI[] getURIs()
 
 
Copyright © 2002-2006 JSDSI. All Rights Reserved.