cgl.narada.discovery.topics.messages
Class SignedTopicAdvertisement
java.lang.Object
cgl.narada.discovery.topics.messages.SignedTopicAdvertisement
- All Implemented Interfaces:
- Serializable
public class SignedTopicAdvertisement
- extends Object
- implements Serializable
Created on May 24, 2005
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignedTopicAdvertisement
public SignedTopicAdvertisement(TopicAdvertisement data,
Certificate cert)
generateSignedDigest
public boolean generateSignedDigest(PrivateKey privKey)
verify
public boolean verify()
verify
public boolean verify(PublicKey pubKey)
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 SignedTopicAdvertisement createObjectFromBytes(byte[] objectBytes)
- Unmarshalls the bytes as a SignedTopicAdvertisement object
- Parameters:
objectBytes -
- Returns:
- SignedTopicAdvertisement if successful, null if error occurs
getOwnerCertificate
public final Certificate getOwnerCertificate()
- Returns:
- Returns the sendersCertificate.
getTopicAd
public final TopicAdvertisement getTopicAd()
- Returns:
- Returns the topicAd.
For comments and suggestions please send
e-mail to
The NaradaBrokering Project