All Packages Class Hierarchy This Package Previous Next Index
Class semper.txlayer.transaction.NRWrapper
java.lang.Object
|
+----semper.txlayer.transaction.NRWrapper
- public final class NRWrapper
- extends Object
- implements Serializable
Helper class to collect all evidence that is to be signed
in one object so a signed Statement can be made of it.
- See Also:
- NRView, NRToken, NonRepudiation
-
NRWrapper(String, String, String, Date, Date, NRView, String)
- Constructor.
-
exportToLineOfHTML()
- Do some pretty printing...
-
exportToLinesOfHTML()
- Do some pretty printing...
-
getBA()
-
-
getNrrornro()
-
-
getNRView()
-
-
getReceiver()
-
-
getReceiverTime()
-
-
getSender()
-
-
getSenderTime()
-
-
toString()
- Do some pretty printing...
NRWrapper
public NRWrapper(String sender,
String receiver,
String BA,
Date senderTime,
Date receiverTime,
NRView nrview,
String nrrornro)
- Constructor.
- Parameters:
- sender - The name of the person the proof should
be made of.
- receiver - The name of the person the proof should
be made for.
- BA - The name of the BA that called us thru the CL.
- senderTime - The local time of the sender when the
signature was made.
- receiverTime - The local time of the receiver when the
signature was made.
I guess I should include a Signature
of the receiver into this to
prevent the sender from cheating.
- nrview - The nrview that belongs to the signature.
getSender
public String getSender()
- Returns:
- The sender inside us. May be null.
getReceiver
public String getReceiver()
- Returns:
- The receiver inside us. May be null.
getBA
public String getBA()
- Returns:
- The BA name inside us. May be null.
getNRView
public NRView getNRView()
- Returns:
- The nrview inside us. May be null.
getSenderTime
public Date getSenderTime()
- Returns:
- The local time of the sender when he signed
the NRView.
getReceiverTime
public Date getReceiverTime()
- Returns:
- The local time of the receiver when
the NRView was signed.
getNrrornro
public String getNrrornro()
- Returns:
- Either NRTransfer.NRR, NRTransfer.NRO or null.
toString
public String toString()
- Do some pretty printing... .
- Returns:
- One line of text.
- Overrides:
- toString in class Object
exportToLinesOfHTML
public String exportToLinesOfHTML()
- Do some pretty printing... .
- Returns:
- Several lines of HTML code.
exportToLineOfHTML
public String exportToLineOfHTML()
- Do some pretty printing... .
- Returns:
- One line of HTML code.
All Packages Class Hierarchy This Package Previous Next Index