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

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

public class SecureTopicKeyResponse
extends Object
implements Serializable

Contains the topic key encrypted with the entity's public key and the security token
Created on Sep 9, 2005

See Also:
Serialized Form

Constructor Summary
SecureTopicKeyResponse(SecretKey _key, SignedSecurityToken _signedSecurityToken)
           
 
Method Summary
static SecureTopicKeyResponse createObjectFromBytes(byte[] objectBytes)
          Unmarshalls the bytes as a SecureTopicKeyResponse object
 byte[] getBytes()
          Marshalls the object into an array of bytes.
 SecretKey getKey()
           
 SignedSecurityToken getSignedSecurityToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureTopicKeyResponse

public SecureTopicKeyResponse(SecretKey _key,
                              SignedSecurityToken _signedSecurityToken)
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 SecureTopicKeyResponse createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a SecureTopicKeyResponse object

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

getKey

public SecretKey getKey()
Returns:
Returns the key.

getSignedSecurityToken

public SignedSecurityToken getSignedSecurityToken()
Returns:
Returns the signedSecurityToken.


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