|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStorageKeyUnit
An interface represents a storage key unit. This storage unit contains a storage key pair that is used for encrypting the user private key for long term storage.
| Method Summary | |
|---|---|
boolean |
changeAgentMN(int n,
int m,
Credential[] oldcreds,
Credential[] newcreds)
Changes M-N recovery scheme. |
boolean |
changeAgentPassword(java.lang.String id,
java.lang.String oldpwd,
java.lang.String newpwd)
Changes agent password. |
java.util.Enumeration |
getAgentIdentifiers()
Retrieves a list of agents in this unit. |
int |
getNoOfAgents()
Retrieves total number of recovery agents. |
int |
getNoOfRequiredAgents()
Retrieves number of recovery agents required to perform recovery operation. |
org.mozilla.jss.crypto.CryptoToken |
getToken()
|
void |
login(Credential[] ac)
Logins to this unit. |
void |
setNoOfRequiredAgents(int number)
Sets the numer of required recovery agents |
| Methods inherited from interface com.netscape.certsrv.security.IEncryptionUnit |
|---|
decryptExternalPrivate, decryptInternalPrivate, encryptInternalPrivate, getPublicKey, unwrap, unwrap, verify, wrap |
| Methods inherited from interface com.netscape.certsrv.security.IToken |
|---|
login, logout |
| Method Detail |
|---|
int getNoOfAgents()
throws EBaseException
EBaseException
int getNoOfRequiredAgents()
throws EBaseException
EBaseExceptionvoid setNoOfRequiredAgents(int number)
number - number of required agentsjava.util.Enumeration getAgentIdentifiers()
boolean changeAgentPassword(java.lang.String id,
java.lang.String oldpwd,
java.lang.String newpwd)
throws EBaseException
id - agent idoldpwd - old passwordnewpwd - new password
EBaseException - failed to change password
boolean changeAgentMN(int n,
int m,
Credential[] oldcreds,
Credential[] newcreds)
throws EBaseException
n - total number of agentsm - required number of agents for recovery operationoldcreds - all old credentialsnewcreds - all new credentials
EBaseException - failed to change schema
void login(Credential[] ac)
throws EBaseException
ac - agent's credentials
EBaseException - failed to loginorg.mozilla.jss.crypto.CryptoToken getToken()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||