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) voidgenerateKey(GenerateKeySpec spec) listKeys()voidvoidvoid
-
Constructor Details
-
KeyManagementServiceImpl
public KeyManagementServiceImpl(co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient api)
-
-
Method Details
-
generateKey
- Specified by:
generateKeyin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
removeKey
- Specified by:
removeKeyin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
revokeKey
- Specified by:
revokeKeyin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
listKeys
- Specified by:
listKeysin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
createRotation
public ExportedKeySpec createRotation(String baseKid, GenerateKeySpec succ) throws AnkaSecureSdkException - Specified by:
createRotationin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
patchKey
- Specified by:
patchKeyin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-
getSupportedAlgorithms
- Specified by:
getSupportedAlgorithmsin interfaceKeyManagementService- Throws:
AnkaSecureSdkException
-