cgl.narada.service.security.kmc.messages
Class SecureTopicKeyCreateUpdateRequest
java.lang.Object
cgl.narada.service.security.kmc.messages.SecureTopicKeyCreateUpdateRequest
- All Implemented Interfaces:
- Serializable
public class SecureTopicKeyCreateUpdateRequest
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureTopicKeyCreateUpdateRequest
public SecureTopicKeyCreateUpdateRequest(Hashtable pubs,
Hashtable subs,
SignedTopicAdvertisement sta,
Certificate creds,
Calendar validUntil,
String alg,
int _keySize,
String response)
- Create a Secure Topic key creation request. To be used by the topic owner
- Parameters:
pubs - -
A vector of allowed publishers to this topicsubs - -
A vector of allowed subscribers to this topicsta - -
The signed topic advertisementcreds - -
The owner's certificate (X.509). This will be used to validate
the topic ad's signature
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 SecureTopicKeyCreateUpdateRequest createObjectFromBytes(byte[] objectBytes)
- Unmarshalls the bytes as a SecureTopicKeyCreateUpdateRequest object
- Parameters:
objectBytes -
- Returns:
- SecureTopicKeyCreateUpdateRequest if successful, null if error
occurs
getAllowedPublishers
public Hashtable getAllowedPublishers()
- Returns:
- Returns the allowedPublishers.
getAllowedSubscribers
public Hashtable getAllowedSubscribers()
- Returns:
- Returns the allowedSubscribers.
getOwnerCredentials
public Certificate getOwnerCredentials()
- Returns:
- Returns the ownerCredentials.
getResponseTopic
public String getResponseTopic()
- Returns:
- Returns the responseTopic.
getTopicAd
public SignedTopicAdvertisement getTopicAd()
- Returns:
- Returns the topicAd.
getValidity
public Calendar getValidity()
- Returns:
- Returns the validity.
getAlgorithm
public String getAlgorithm()
- Returns:
- Returns the algorithm.
getKeySize
public int getKeySize()
- Returns:
- Returns the keySize.
For comments and suggestions please send
e-mail to
The NaradaBrokering Project