-
public interface KeyManagerDefines functions the key manager must expose.
-
-
Method Summary
Modifier and Type Method Description abstract ByteArraydecrypt(String instance, ByteArray sealed)Decrypt sealed with instance's keys. abstract Unitgenerate(String instance)Generate a new key pair and auth secret for instance. abstract PublicKeySetgetPublicKeySet(String instance)Get PublicKeySet for instance. abstract Booleanexists(String instance)Check if the key set for instance exists and is valid. abstract Unitdelete(String instance)Delete key set for instance. -
-
Method Detail
-
generate
abstract Unit generate(String instance)
Generate a new key pair and auth secret for instance.
-
getPublicKeySet
abstract PublicKeySet getPublicKeySet(String instance)
Get PublicKeySet for instance. Encoded to be shared to the application server.
-
exists
abstract Boolean exists(String instance)
Check if the key set for instance exists and is valid.
-
-
-
-