All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commerce.TransactionNRData

java.lang.Object
   |
   +----semper.commerce.TransactionNRData

public final class TransactionNRData
extends Object
implements Browseable
This class encapsulates non repudiable signatures for commerce transactions. It is a simple wrapper class for the class NRToken implemented in the TX layer.

Version:
$Id: TransactionNRData.java,v 1.4 1998/10/06 06:54:18 semper Exp $
Author:
Rolf Michelsen, Stig Mj�lsnes
See Also:
getSignature

Method Index

 o compareTo(Browseable, int, boolean)
Compares this object to another browseable object based on a specified key.
 o exportToLineOfASCII()
Exports the non repudiation information formatted as a single line of plain text.
 o exportToLineOfHTML()
Exports the non repudiation information formatted as a single line of text formatted in HTML 1.0.
 o exportToLinesOfHTML()
Exports the non repudiation information formatted using HTML 1.0.
 o getActions()
Returns the names of the actions that can be performed by objects of this type.
 o getKeys()
Returns the names of the keys that can be used for comparing objects of this type.
 o getMethodName(int)
Returns the name of a method that can be called for an object of this type.
 o getName()
Returns the formal name of the NR data object.
 o verify()
Verifies the validity of the signed statement.
 o verifySignature()
Verifies the signature on the non-repudiation token, that is the receipt.
 o verifySignatureResultAsHTML()
Returns a textual description of the result of signature verification for the non-repudiation token.

Methods

 o getName
 public String getName()
Returns the formal name of the NR data object. This name is used for the title of dialogue windows displayed by the browser. This method is a part of the Browseable interface.

Returns:
The name of the object.
 o exportToLineOfHTML
 public String exportToLineOfHTML()
Exports the non repudiation information formatted as a single line of text formatted in HTML 1.0. This method is a part of the Browseable interface.

Returns:
A short textual representation of the non repudiation data.
 o exportToLinesOfHTML
 public String exportToLinesOfHTML()
Exports the non repudiation information formatted using HTML 1.0. The information may span several lines. This method is part of the Browseable interface.

Returns:
A long textual representation of the non repudiation data.
 o exportToLineOfASCII
 public String exportToLineOfASCII()
Exports the non repudiation information formatted as a single line of plain text. This method is a part of the Browseable interface.

Returns:
A short textual representation of the non repudiation data.
 o compareTo
 public int compareTo(Browseable obj,
                      int key,
                      boolean reverse)
Compares this object to another browseable object based on a specified key. This method is used for sorting browseable objects. This method is a part of the Browseable interface.

Parameters:
obj - The object to compare with.
key - The index of the key to do the comparison on.
reverse - If set to true, the result will be negated.
Returns:
-1, 0 or 1 to indicate "less than", "equal" and "greater than" respectively.
 o getKeys
 public String[] getKeys()
Returns the names of the keys that can be used for comparing objects of this type. This method is a part of the Browseable interface.

Returns:
An array of comparison key names.
 o getActions
 public String[] getActions()
Returns the names of the actions that can be performed by objects of this type. This method is a part of the Browseable interface.

Returns:
An array of action names.
 o getMethodName
 public String getMethodName(int n)
Returns the name of a method that can be called for an object of this type. This method is a part of the Browseable interface, but it is not very well documented there...

Parameters:
n - A mysterious parameter...
Returns:
The name of a method.
 o verify
 public boolean verify()
Verifies the validity of the signed statement. This method verifies the signature on the signed statement.

Returns:
true if the signature is valid, false otherwise.
See Also:
verify
 o verifySignature
 public boolean verifySignature()
Verifies the signature on the non-repudiation token, that is the receipt.

Returns:
true if the signature is valid, false otherwise.
See Also:
verifySignature
 o verifySignatureResultAsHTML
 public String verifySignatureResultAsHTML()
Returns a textual description of the result of signature verification for the non-repudiation token. The result is formatted using HTML.

Returns:
A textual description of the signature verification result.
See Also:
verifySignatureResultAsHTML

All Packages  Class Hierarchy  This Package  Previous  Next  Index