cgl.narada.service.security.kmc.messages
Class SecureTopicKeyRequest

java.lang.Object
  extended by cgl.narada.service.security.kmc.messages.SecureTopicKeyRequest
All Implemented Interfaces:
Serializable

public class SecureTopicKeyRequest
extends Object
implements Serializable

Request for a security key. In this request we present the Topic sysnopsis for which we desire the secret key, the synopsis type, the client's credentials and a response topic
Created on Sep 8, 2005

See Also:
Serialized Form

Constructor Summary
SecureTopicKeyRequest(String synopsis, Certificate creds, TopicRights reqRights, String resp)
           
 
Method Summary
static SecureTopicKeyRequest createObjectFromBytes(byte[] objectBytes)
          Unmarshalls the bytes as a SecureTopicKeyRequest object
 byte[] getBytes()
          Marshalls the object into an array of bytes.
 Certificate getCredentials()
           
 TopicRights getRequestedRights()
           
 String getResponseTopic()
           
 String getTopicSynopsis()
           
 String toString()
          For debugging purposes...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecureTopicKeyRequest

public SecureTopicKeyRequest(String synopsis,
                             Certificate creds,
                             TopicRights reqRights,
                             String resp)
Method Detail

getBytes

public byte[] getBytes()
Marshalls the object into an array of bytes.

Returns:
an array of bytes representing the marshaller object, null if error occurs

createObjectFromBytes

public static SecureTopicKeyRequest createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a SecureTopicKeyRequest object

Parameters:
objectBytes -
Returns:
SecureTopicKeyRequest if successful, null if error occurs

toString

public String toString()
For debugging purposes...

Overrides:
toString in class Object

getCredentials

public Certificate getCredentials()
Returns:
Returns the credentials.

getRequestedRights

public TopicRights getRequestedRights()
Returns:
Returns the requestedRights.

getResponseTopic

public String getResponseTopic()
Returns:
Returns the responseTopic.

getTopicSynopsis

public String getTopicSynopsis()
Returns:
Returns the topicSynopsis.


For comments and suggestions please send e-mail to The NaradaBrokering Project