cgl.narada.service.security
Interface KmcEntityKeyExchange


public interface KmcEntityKeyExchange

Encapsulates operations pertaining to key exchange operations with the Key Management Center. $Date$ $Revision$


Method Summary
 void registerPersonalPublicKey(int entityId, int templateId, PublicKey publicKey)
          This method allows a subscriber/publisher to register their personal public keys with the KMC, which would then be used to encrypt template key exchanges and other functions.
 void retrieveTemplateKey(int entityId, int templateId)
          This method issues a request to retrieve the keys associated with a template.
 

Method Detail

registerPersonalPublicKey

void registerPersonalPublicKey(int entityId,
                               int templateId,
                               PublicKey publicKey)
                               throws ServiceException
This method allows a subscriber/publisher to register their personal public keys with the KMC, which would then be used to encrypt template key exchanges and other functions.

Throws:
ServiceException

retrieveTemplateKey

void retrieveTemplateKey(int entityId,
                         int templateId)
                         throws ServiceException
This method issues a request to retrieve the keys associated with a template. This method should be implemented as if it were a blocking call. The method should not return until a key has been retrieved and stored with the entity key management. The method should throw an exception if this retrieval fails for whatever reason.

Throws:
ServiceException


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