org.csapi.jr.se.fw
Class SignatureAndServiceMgr

java.lang.Object
  |
  +--org.csapi.jr.se.fw.SignatureAndServiceMgr
All Implemented Interfaces:
java.io.Serializable

public final class SignatureAndServiceMgr
extends java.lang.Object
implements java.io.Serializable

This is a Sequence of Data Elements containing the digital signature of the Framework for the service agreement, and a reference to the SCF manager interface of the SCF. The digitalSignature is the signed version of a hash of the service token and agreement text given by the client application. The ServiceMgrInterface is a reference to the SCF manager interface for the selected SCF.

See Also:
Serialized Form

Constructor Summary
SignatureAndServiceMgr()
          Creates a new SignatureAndServiceMgr instance.
SignatureAndServiceMgr(byte[] _digitalSignature, org.csapi.jr.se.Service _serviceMgrInterface)
          Creates a new SignatureAndServiceMgr instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 byte[] getDigitalSignature()
          This method returns a digitalSignature.
 org.csapi.jr.se.Service getServiceMgrInterface()
          This method returns a serviceMgrInterface.
 int hashCode()
          Returns a hashcode value for the object.
 void setDigitalSignature(byte[] digitalSignature)
          This method sets a digitalSignature.
 void setServiceMgrInterface(org.csapi.jr.se.Service serviceMgrInterface)
          This method sets a serviceMgrInterface.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureAndServiceMgr

public SignatureAndServiceMgr()
Creates a new SignatureAndServiceMgr instance.


SignatureAndServiceMgr

public SignatureAndServiceMgr(byte[] _digitalSignature,
                              org.csapi.jr.se.Service _serviceMgrInterface)
Creates a new SignatureAndServiceMgr instance.

Parameters:
_digitalSignature -
_serviceMgrInterface -
Method Detail

getDigitalSignature

public byte[] getDigitalSignature()
This method returns a digitalSignature.

Returns:
a byte[] value

getServiceMgrInterface

public org.csapi.jr.se.Service getServiceMgrInterface()
This method returns a serviceMgrInterface.

Returns:
a org.csapi.jr.se.Service value

setDigitalSignature

public void setDigitalSignature(byte[] digitalSignature)
This method sets a digitalSignature.


setServiceMgrInterface

public void setServiceMgrInterface(org.csapi.jr.se.Service serviceMgrInterface)
This method sets a serviceMgrInterface.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object