Class KeyManagementServiceImpl
java.lang.Object
co.ankatech.ankasecure.sdk.internal.service.impl.KeyManagementServiceImpl
- All Implemented Interfaces:
KeyManagementService
Thread-safe implementation of
KeyManagementService
.-
Constructor Summary
ConstructorsConstructorDescriptionKeyManagementServiceImpl
(co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient api) -
Method Summary
Modifier and TypeMethodDescriptioncreateRotation
(String baseKid, GenerateKeySpec succ) void
generateKey
(GenerateKeySpec spec) listKeys()
void
void
void
-
Constructor Details
-
KeyManagementServiceImpl
public KeyManagementServiceImpl(co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient api)
-
-
Method Details
-
generateKey
- Specified by:
generateKey
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
removeKey
- Specified by:
removeKey
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
revokeKey
- Specified by:
revokeKey
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
listKeys
- Specified by:
listKeys
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
createRotation
public ExportedKeySpec createRotation(String baseKid, GenerateKeySpec succ) throws AnkaSecureSdkException - Specified by:
createRotation
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
patchKey
- Specified by:
patchKey
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-
getSupportedAlgorithms
- Specified by:
getSupportedAlgorithms
in interfaceKeyManagementService
- Throws:
AnkaSecureSdkException
-