KeyManagementServiceProvider

Service Provider Interface for KeyManagementService implementations. Implementations of this interface will be discovered via Java ServiceLoader.

All providers MUST advertise their supported algorithms.

Properties

Link copied to clipboard
abstract val name: String

The name/identifier of this provider (e.g., "waltid", "inmemory").

Link copied to clipboard

Returns the list of environment variables required for this provider to function.

Link copied to clipboard

Returns the set of algorithms supported by this provider.

Functions

Link copied to clipboard
abstract fun create(options: Map<String, Any?> = emptyMap()): KeyManagementService

Creates a KeyManagementService instance.

Creates a KeyManagementService instance using typed configuration.

Link copied to clipboard

Checks if all required environment variables are available for this provider.

Link copied to clipboard
open fun supportsAlgorithm(algorithmName: String): Boolean

Checks if an algorithm by name is supported.

open fun supportsAlgorithm(algorithm: Algorithm): Boolean

Checks if a specific algorithm is supported by this provider.