All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.transaction.NonRepudiation

java.lang.Object
   |
   +----semper.txlayer.attribute.SecAttribute
           |
           +----semper.txlayer.transaction.NonRepudiation

public class NonRepudiation
extends SecAttribute
Used to tag transactions to be performed with NonRepudiation. The service should produce evidence of what happened so that a receipient of data can prove from where this data came. After the Transaction that was tagged is finished, a proof can be retrieve from the NonRepudiation Object by calling the method getNRToken().

See Also:
NRToken

Constructor Index

 o NonRepudiation()
Only the empty construcotr is valid.

Method Index

 o acceptBeingPutInto(Class)
This method tests if an attribute allows others to put it into another class.
 o getNRToken()
 o setNRToken(NRToken)
Set the nrtoken.
 o toString()

Constructors

 o NonRepudiation
 public NonRepudiation()
Only the empty construcotr is valid. Signer names etc. are taken from a SituatioNDescription that is input to a TXContext.

Methods

 o acceptBeingPutInto
 public boolean acceptBeingPutInto(Class c)
This method tests if an attribute allows others to put it into another class. This test is needed for nested Transactions, where one does not want to put a, e.g. PaymentAttribute with private information into an UntrustedAttributeFromHell.

Parameters:
The - class to test for.
Returns:
Returns false in any case, as the nonRepudiation attribute relies on the fact that it's working only in the topmost transaction.
Overrides:
acceptBeingPutInto in class SecAttribute
 o toString
 public String toString()
Returns:
String representation.
Overrides:
toString in class SecAttribute
 o getNRToken
 public NRToken getNRToken()
Returns:
The nrtoken inside us. May be null.
 o setNRToken
 public void setNRToken(NRToken nrtoken)
Set the nrtoken. This method is for internal use only.

Parameters:
nrtoken - The NRToken to be set... .

All Packages  Class Hierarchy  This Package  Previous  Next  Index