package v1
- Alphabetic
- Public
- Protected
Type Members
- sealed trait EncryptionAlgoSpec extends AnyRef
- sealed trait EncryptionKeySpec extends KeySpec
- sealed trait KeySpec extends Product with Serializable
- trait KmsDriver extends api.KmsDriver with AutoCloseable
The interface for a pluggable KMS implementation, that is, a KMS Driver.
The interface for a pluggable KMS implementation, that is, a KMS Driver.
Cryptographic operations are async, i.e., they return a Future. In case of failures, the future must be failed with a KmsDriverException.
Each KMS operation takes an OpenTelemetry io.opentelemetry.context.Context as a trace context that can optionally be propagated to the external KMS.
- final case class KmsDriverException(exception: Throwable, retryable: Boolean) extends RuntimeException with Product with Serializable
An exception that should be thrown by the KMS driver in case of failure.
An exception that should be thrown by the KMS driver in case of failure.
- exception
The underlying exception of the KMS that lead to the failure.
- retryable
If true the caller can retry the failing operation.
- trait KmsDriverFactory extends api.KmsDriverFactory with DriverFactory
- sealed trait KmsDriverHealth extends Product with Serializable
- final case class PublicKey(key: Array[Byte], spec: KeySpec) extends Product with Serializable
A public key exported from the KMS.
A public key exported from the KMS.
- key
The DER-encoded X.509 public key (SubjectPublicKeyInfo)
- spec
The key specification of the key pair
- sealed trait SigningAlgoSpec extends AnyRef
- sealed trait SigningKeySpec extends KeySpec
Value Members
- object EncryptionAlgoSpec
- object EncryptionKeySpec extends Serializable
- object KmsDriverHealth extends Serializable
- object SigningAlgoSpec
- object SigningKeySpec extends Serializable