ePOST API

rice.post.security.pknoi
Class PKnoIChain

java.lang.Object
  extended by rice.post.security.pknoi.PKnoIChain
All Implemented Interfaces:
java.io.Serializable

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

This class is the notion of a chain of "vouches" from one user to another in the PKnoI POST system. The chain can contain other metadata, such as the "validity" of this chain (based on some metric) or similar information.

Version:
$Id: PKnoIChain.java 1301 2003-07-17 17:11:16Z amislove $
Author:
amislove
See Also:
Serialized Form

Constructor Summary
protected PKnoIChain(PKnoIPostCertificate from, PKnoIPostCertificate to, PKnoISignature[] sigs)
          Builds a PKnoIChain from the to and from certificates, and the chain of signatures which verify each other
 
Method Summary
 PKnoIPostCertificate getFrom()
          Returns the origin user for this cahin
 PKnoISignature[] getSignatures()
          Returns the signatures for this cahin
 PKnoIPostCertificate getTo()
          Returns the destination user for this cahin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKnoIChain

protected PKnoIChain(PKnoIPostCertificate from,
                     PKnoIPostCertificate to,
                     PKnoISignature[] sigs)
Builds a PKnoIChain from the to and from certificates, and the chain of signatures which verify each other

Parameters:
from - The origin user
to - The destination user
sigs - The array of signatures
Method Detail

getFrom

public PKnoIPostCertificate getFrom()
Returns the origin user for this cahin

Returns:
The origin of the chain

getTo

public PKnoIPostCertificate getTo()
Returns the destination user for this cahin

Returns:
The destination of the chain

getSignatures

public PKnoISignature[] getSignatures()
Returns the signatures for this cahin

Returns:
The signatures for the chain

ePOST API

Copyright © 2001-2005 - Rice Pastry.