SigningKeyInfo

sealed class SigningKeyInfo

The signing key used to cryptographically sign a support permit.

Inheritors

Types

Link copied to clipboard
data class KmsKey(val value: String) : SigningKeyInfo

The ARN of the AWS KMS key used to sign the permit. The key must have key spec ECC_NIST_P384 and key usage SIGN_VERIFY.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this SigningKeyInfo as a KmsKey and retrieves its kotlin.String value. Throws an exception if the SigningKeyInfo is not a KmsKey.

Link copied to clipboard

Casts this SigningKeyInfo as a KmsKey and retrieves its kotlin.String value. Returns null if the SigningKeyInfo is not a KmsKey.