|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IKeyService
An interface representing a recovery service.
| Method Summary | |
|---|---|
void |
addAgentAsyncKeyRecovery(java.lang.String reqID,
java.lang.String agentID)
add approving agent in asynchronous key recovery |
void |
addDistributedCredential(java.lang.String recoveryID,
java.lang.String uid,
java.lang.String pwd)
Adds password in the distributed recovery operation. |
java.util.Hashtable |
createRecoveryParams(java.lang.String recoveryID)
Creates recovery parameters for the given recovery operation. |
void |
destroyRecoveryParams(java.lang.String recoveryID)
Destroys recovery parameters for the given recovery operation. |
byte[] |
doKeyRecovery(java.math.BigInteger kid,
Credential[] creds,
java.lang.String pwd,
netscape.security.x509.X509CertImpl cert,
java.lang.String delivery,
java.lang.String nickname,
java.lang.String agent)
Performs administrator-initiated key recovery. |
byte[] |
doKeyRecovery(java.lang.String reqID,
java.lang.String password)
Async Recovers key for administrators. |
Credential[] |
getDistributedCredentials(java.lang.String recoveryID)
Retrieves credentials in the distributed recovery operation. |
java.lang.String |
getInitAgentAsyncKeyRecovery(java.lang.String reqID)
get async recovery request initiating agent |
int |
getNoOfRequiredAgents()
Retrieves number of agent required to perform key recovery operation. |
java.lang.String |
getRecoveryID()
Retrieves recovery identifier. |
java.util.Hashtable |
getRecoveryParams(java.lang.String recoveryID)
Retrieves recovery parameters for the given recovery operation. |
java.lang.String |
initAsyncKeyRecovery(java.math.BigInteger kid,
netscape.security.x509.X509CertImpl cert,
java.lang.String agent)
Initiate asynchronous key recovery |
boolean |
isApprovedAsyncKeyRecovery(java.lang.String reqID)
is async recovery request status APPROVED - i.e. |
| Method Detail |
|---|
int getNoOfRequiredAgents()
throws EBaseException
EBaseException - failed to retrieve value
boolean isApprovedAsyncKeyRecovery(java.lang.String reqID)
throws EBaseException
reqID - request id
EBaseException
java.lang.String getInitAgentAsyncKeyRecovery(java.lang.String reqID)
throws EBaseException
reqID - request id
EBaseException
java.lang.String initAsyncKeyRecovery(java.math.BigInteger kid,
netscape.security.x509.X509CertImpl cert,
java.lang.String agent)
throws EBaseException
kid - key identifiercert - certificate embedded in PKCS12
EBaseException - failed to initiate async recovery
void addAgentAsyncKeyRecovery(java.lang.String reqID,
java.lang.String agentID)
throws EBaseException
reqID - request idagentID - agent id
EBaseException - failed to initiate async recovery
byte[] doKeyRecovery(java.math.BigInteger kid,
Credential[] creds,
java.lang.String pwd,
netscape.security.x509.X509CertImpl cert,
java.lang.String delivery,
java.lang.String nickname,
java.lang.String agent)
throws EBaseException
kid - key identifiercreds - list of credentials (id and password)pwd - password to protect PKCS12cert - certificate embedded in PKCS12delivery - delivery mechanism
EBaseException - failed to perform recovery
byte[] doKeyRecovery(java.lang.String reqID,
java.lang.String password)
throws EBaseException
reqID - request idpassword - password of the PKCS12 package
subsystem
EBaseException - failed to recover keyjava.lang.String getRecoveryID()
java.util.Hashtable createRecoveryParams(java.lang.String recoveryID)
throws EBaseException
recoveryID - recovery id
EBaseException - failed to create
void destroyRecoveryParams(java.lang.String recoveryID)
throws EBaseException
recoveryID - recovery id
EBaseException - failed to destroy
java.util.Hashtable getRecoveryParams(java.lang.String recoveryID)
throws EBaseException
recoveryID - recovery id
EBaseException - failed to retrieve
void addDistributedCredential(java.lang.String recoveryID,
java.lang.String uid,
java.lang.String pwd)
throws EBaseException
recoveryID - recovery iduid - agent uidpwd - agent password
EBaseException - failed to add
Credential[] getDistributedCredentials(java.lang.String recoveryID)
throws EBaseException
recoveryID - recovery id
EBaseException - failed to retrieve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||