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

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

public class SecureTopicKey
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SecureTopicKey(SecretKey sec, SecurityToken tok)
           
 
Method Summary
static SecureTopicKey createObjectFromBytes(byte[] objectBytes)
          Unmarshalls the bytes as a SecureTopicKey object
 byte[] getBytes()
          Marshalls the object into an array of bytes.
 SecretKey getSecretKey()
           
 SecurityToken getSecurityToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureTopicKey

public SecureTopicKey(SecretKey sec,
                      SecurityToken tok)
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 SecureTopicKey createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a SecureTopicKey object

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

getSecretKey

public SecretKey getSecretKey()

getSecurityToken

public SecurityToken getSecurityToken()


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