getSupportedAlgorithms

abstract suspend fun getSupportedAlgorithms(): Set<Algorithm>

Returns the set of algorithms supported by this KMS instance.

This method MUST be implemented by all KMS providers to advertise their capabilities. The returned set should be immutable and reflect the actual capabilities of the KMS.

Example:

override suspend fun getSupportedAlgorithms(): Set<Algorithm> {
return setOf(Algorithm.Ed25519, Algorithm.Secp256k1, Algorithm.P256)
}

Return

Immutable set of supported algorithms