org.csapi.jr.se.fw
Class SignatureAndServiceMgr

java.lang.Object
  extended byorg.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 contains a CMS (Cryptographic Message Syntax) object (as defined in RFC 2630) with content type Signed-data. The signature is calculated and created as per section 5 of RFC 2630. The content is the agreement text given by the client application. The "external signature" construct shall not be used (that is the eContent field in the EncapsulatedContentInfo field shall be present and contain the agreement text string). The signing-time attribute, as defined in section 11.3 of RFC 2630, shall also be used to provide replay prevention. 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, 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.
 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(Service serviceMgrInterface)
          This method sets a serviceMgrInterface.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureAndServiceMgr

public SignatureAndServiceMgr()
Creates a new SignatureAndServiceMgr instance.


SignatureAndServiceMgr

public SignatureAndServiceMgr(byte[] _digitalSignature,
                              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 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(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.


hashCode

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