public interface ISecretManager
Modifier and Type | Method and Description |
---|---|
String |
getSecret(String id,
boolean remove)
Get secret String that is used for confirmation of correct server-client
combination
|
byte[] |
requestSecret()
Request to generate secret
|
String getSecret(String id, boolean remove)
id
- target key to obtain the secretremove
- if true, the secret will be removed after invoking this methodbyte[] requestSecret()