AlgorithmDiscovery
object AlgorithmDiscovery
Utility for discovering algorithm support across KMS providers.
Example Usage:
// Discover all providers and their algorithms
val providers = AlgorithmDiscovery.discoverProviders()
// Find providers that support Ed25519
val ed25519Providers = AlgorithmDiscovery.findProvidersFor(Algorithm.Ed25519)
// Find and create best provider
val kms = AlgorithmDiscovery.createProviderFor(Algorithm.Ed25519, "waltid")Content copied to clipboard
Functions
Link copied to clipboard
fun createProviderFor(algorithm: Algorithm, preferredProvider: String? = null, options: Map<String, Any?> = emptyMap()): KeyManagementService?
Gets a provider instance that supports a specific algorithm.
Link copied to clipboard
Discovers all available KMS providers and their supported algorithms.
Link copied to clipboard
Gets the best provider for a given algorithm.
Link copied to clipboard
Finds all providers that support an algorithm by name.
Finds all providers that support a specific algorithm.