cgl.narada.service.security
Interface EntityKeyManagement

All Known Implementing Classes:
EntityKeyManagementImpl

public interface EntityKeyManagement

Performs KeyManagement releated operations for an entity. $Date$ $Revision$


Method Summary
 KeyPair generatePersonalKeyPair(String algo, int keySize, String provider, String alias)
          A method that can be used by a client to generate a personal-key pair, a given client may specifiy the algorithm to do so, and also the provider
 PublicKey getPersonalPublicKey(String alias)
          Retrieve the personal public key associated with an entity
 SecretKey getTemplateKey(int templateId)
          Get the secret template key associated with a templateId
 

Method Detail

generatePersonalKeyPair

KeyPair generatePersonalKeyPair(String algo,
                                int keySize,
                                String provider,
                                String alias)
                                throws ServiceException
A method that can be used by a client to generate a personal-key pair, a given client may specifiy the algorithm to do so, and also the provider

Throws:
ServiceException

getPersonalPublicKey

PublicKey getPersonalPublicKey(String alias)
                               throws ServiceException
Retrieve the personal public key associated with an entity

Throws:
ServiceException

getTemplateKey

SecretKey getTemplateKey(int templateId)
                         throws ServiceException
Get the secret template key associated with a templateId

Throws:
ServiceException


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