PlatformSigningProvider

An interface to some underlying persistent storage for private key material. Stored keys are identified by a unique string "alias" for each key. You can createSigningKey, getSignerForKey, or deleteSigningKey.

To obtain a platform signing provider in platform-agnostic code, use PlatformSigningProvider. In platform-specific code, it is currently recommended to directly interface with your platform signing provider to get platform-specific functionality. (Platform-specific types for PlatformSigningProvider are currently blocked by KT-71036.)

Created keys can be configured using the SigningKeyConfiguration DSL. Signers can be configured using the SignerConfiguration DSL. When creating a key, the returned signer's configuration is embedded in the signing key configuration as signer {}.

See also

JKSProvider
AndroidKeyStoreProvider
IosKeychainProvider