SigningKeyResponse

data class SigningKeyResponse(val keyId: String, val keyScheme: String, val keyType: String, val publicKeyValue: String)

This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { "key_id": "776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...", "key_type": "rsa", "public_key_value": "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...", "key_scheme": "rsassa-pss-sha256" } The format for in-toto's key definition can be found in section 4.2 of the in-toto specification.

Constructors

Link copied to clipboard
fun SigningKeyResponse(keyId: String, keyScheme: String, keyType: String, publicKeyValue: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

key_id is an identifier for the signing key.

Link copied to clipboard

This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256".

Link copied to clipboard

This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa".

Link copied to clipboard

This field contains the actual public key.