cgl.narada.samples.secureAV
Class SecureTopicsKeyGenerator

java.lang.Object
  extended by cgl.narada.samples.secureAV.SecureTopicsKeyGenerator

public class SecureTopicsKeyGenerator
extends Object


Field Summary
 Certificate c_cert
           
 PrivateKey c_priv
           
 String host
           
 String port
           
 String protocol
           
 PublicKey rootCA
           
 SecureTopicKeyResponse stkControl
           
 SecureTopicKeyResponse stkData
           
 String topicNameControl
           
 String topicNameData
           
 String topicUUIDControl
           
 String topicUUIDData
           
 
Constructor Summary
SecureTopicsKeyGenerator(String data, String control, String a, String h, String p, String pr)
           
 
Method Summary
 boolean createTopic(Entity e, String topicName, int topicType, Calendar until)
           
 SignedTopicAdvertisement[] discoverTopics(Certificate cert, PrivateKey priv, String synopsis, int matchType, int maxTopics)
           
 void generateTopics(String algo, int keylen, int timeoutMins1, int timeoutMins2)
           
 void genTopicsAndKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

public String host

port

public String port

protocol

public String protocol

topicUUIDData

public String topicUUIDData

topicUUIDControl

public String topicUUIDControl

topicNameData

public String topicNameData

topicNameControl

public String topicNameControl

stkData

public SecureTopicKeyResponse stkData

stkControl

public SecureTopicKeyResponse stkControl

rootCA

public PublicKey rootCA

c_cert

public Certificate c_cert

c_priv

public PrivateKey c_priv
Constructor Detail

SecureTopicsKeyGenerator

public SecureTopicsKeyGenerator(String data,
                                String control,
                                String a,
                                String h,
                                String p,
                                String pr)
Method Detail

genTopicsAndKeys

public void genTopicsAndKeys()

discoverTopics

public SignedTopicAdvertisement[] discoverTopics(Certificate cert,
                                                 PrivateKey priv,
                                                 String synopsis,
                                                 int matchType,
                                                 int maxTopics)

generateTopics

public void generateTopics(String algo,
                           int keylen,
                           int timeoutMins1,
                           int timeoutMins2)

createTopic

public boolean createTopic(Entity e,
                           String topicName,
                           int topicType,
                           Calendar until)


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