jsdsi
Class OnlineTest

java.lang.Object
  extended byjsdsi.Obj
      extended byjsdsi.OnlineTest
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OneTime, Revalidation, Revocation

public abstract class OnlineTest
extends Obj

Verifies whether a certificate is valid by contacting an online principal or its agent.

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

Field Summary
 
Fields inherited from class jsdsi.Obj
_obj
 
Constructor Summary
OnlineTest(Principal p, java.net.URI[] u)
          Creates a new OnlineTest from a given principal and array of URIs.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Principal getPrincipal()
           
 java.net.URI[] getURIs()
           
 int hashCode()
           
 SexpList toSexp()
          Creates an SexpList -representation from this SDSI-object.
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, readResolve, toByteArray, toString, toString, toTransport
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnlineTest

public OnlineTest(Principal p,
                  java.net.URI[] u)
Creates a new OnlineTest from a given principal and array of URIs.

Parameters:
p - principal for the new online test.
u - array of URIs for the new online test.
Method Detail

getPrincipal

public Principal getPrincipal()
Returns:
the principal of this online test.

getURIs

public java.net.URI[] getURIs()
Returns:
an array of URIs from this online test.

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in class Obj
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Specified by:
hashCode in class Obj
See Also:
Object.hashCode()

toSexp

public final SexpList toSexp()
Description copied from class: Obj
Creates an SexpList -representation from this SDSI-object.

Specified by:
toSexp in class Obj
Returns:
an SexpList that represents this SDSI-object.


Copyright © 2002-2006 JSDSI. All Rights Reserved.