|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KeyManagementService
The key management service provides a set of operations that are useful to enable message level encryptions. $Date$ $Revision$
| Method Summary | |
|---|---|
void |
addTemplateToCompromisedList(int template)
When a template is added to the list of compromised templates, a new key-pair needs to be regenerated for the template. |
void |
addUserToCompromisedList(int client)
When a user is added to the list of compromised users, all templates that the user was registered to need to have regenerated keys. |
Certificate |
generateCertificate(int entityId,
String otherInfo)
A method that generates certificates for a given user |
SecretKey |
generateTemplateKey(int templateId,
String algorithm,
int keyLength,
Certificate credentials)
This method is called the first time we try to secure a template. |
SecretKey |
getTemplateKey(int templateId,
Certificate credentials)
Gets the Secret key associated with a given template |
void |
registerPersonalPublicKey(int entityId,
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. |
| Method Detail |
|---|
void registerPersonalPublicKey(int entityId,
PublicKey publicKey)
throws ServiceException
ServiceException
Certificate generateCertificate(int entityId,
String otherInfo)
throws ServiceException
ServiceException
SecretKey getTemplateKey(int templateId,
Certificate credentials)
throws ServiceException
ServiceException
SecretKey generateTemplateKey(int templateId,
String algorithm,
int keyLength,
Certificate credentials)
throws ServiceException
ServiceExceptionvoid addUserToCompromisedList(int client)
void addTemplateToCompromisedList(int template)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||