jsdsi
Class Auth
java.lang.Object
jsdsi.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
Constructor Summary |
Auth(Tag t,
boolean p)
Creates a new Auth for a given Tag and
propagation bit. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
_replacement
protected transient Auth _replacement
Auth
public Auth(Tag t,
boolean p)
- Creates a new
Auth
for a given Tag
and
propagation bit.
- Parameters:
t
- tagp
- propagation bit
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.