ePOST API

rice.post.security.pknoi
Class PKnoISignature

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

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

This class is the notion of a verification (or vouching) in the PKnoI system.

Version:
$Id: PKnoISignature.java 1302 2003-07-17 18:38:25Z amislove $
Author:
amislove
See Also:
Serialized Form

Constructor Summary
protected PKnoISignature(PKnoIPostCertificate signee, PKnoIPostCertificate signer, byte[] sig)
          Builds a PKnoISignature, in which a single user vouches for another.
 
Method Summary
 byte[] getSignature()
          Returns the signature
 PKnoIPostCertificate getSignee()
          Returns the user who is the signee
 PKnoIPostCertificate getSigner()
          Returns the signer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKnoISignature

protected PKnoISignature(PKnoIPostCertificate signee,
                         PKnoIPostCertificate signer,
                         byte[] sig)
Builds a PKnoISignature, in which a single user vouches for another. This can be viewed as a single link in the PKnoIChain.

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

getSignee

public PKnoIPostCertificate getSignee()
Returns the user who is the signee

Returns:
The signee

getSigner

public PKnoIPostCertificate getSigner()
Returns the signer

Returns:
The signer

getSignature

public byte[] getSignature()
Returns the signature

Returns:
The signature

ePOST API

Copyright © 2001-2005 - Rice Pastry.