jsdsi
Class Auth

java.lang.Object
  extended byjsdsi.Auth
All Implemented Interfaces:
java.io.Serializable

public class Auth
extends java.lang.Object
implements java.io.Serializable

A SPKI authorization: a tag and a propagate flag.

Version:
$Revision: 1.2.6.2 $ $Date: 2005/11/08 03:12:52 $
Author:
Sameer Ajmani, Sean Radford
See Also:
AuthCert, Serialized Form

Field Summary
protected  Auth _replacement
           
 
Constructor Summary
Auth(Tag t, boolean p)
          Creates a new Auth for a given Tag and propagation bit.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 boolean getPropagate()
           
 Tag getTag()
           
 int hashCode()
           
 boolean implies(Auth a)
           
protected  java.lang.Object readResolve()
          Returns the Auth object which is the replacement after serialization.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_replacement

protected transient Auth _replacement
Constructor Detail

Auth

public Auth(Tag t,
            boolean p)
Creates a new Auth for a given Tag and propagation bit.

Parameters:
t - tag
p - propagation bit
Method Detail

getTag

public Tag getTag()
Returns:
this.tag

getPropagate

public boolean getPropagate()
Returns:
this.propagate

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(Object)

implies

public boolean implies(Auth a)
Returns:
true iff this is valid whenever a is valid

hashCode

public int hashCode()
See Also:
Object.hashCode()

readResolve

protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
Returns the Auth object which is the replacement after serialization.

Returns:
the replacement
Throws:
java.io.ObjectStreamException
See Also:
Serializable


Copyright © 2002-2006 JSDSI. All Rights Reserved.