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