Algorithm
Represents a cryptographic algorithm supported by a KMS.
This is a sealed class to ensure type safety and allow for future extensions (e.g., algorithm-specific parameters, key sizes, etc.).
Example Usage:
val algorithm = Algorithm.Ed25519
val key = kms.generateKey(algorithm)
// Or parse from string
val algorithm = Algorithm.parse("Ed25519")Content copied to clipboard