GoogleApi.ContainerAnalysis.V1beta1.Model.SigningKey (google_api_container_analysis v0.14.0) View Source

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.

Attributes

  • keyId (type: String.t, default: nil) - key_id is an identifier for the signing key.
  • keyScheme (type: String.t, default: nil) - This field contains the corresponding signature scheme. Eg: "rsassa-pss-sha256".
  • keyType (type: String.t, default: nil) - This field identifies the specific signing method. Eg: "rsa", "ed25519", and "ecdsa".
  • publicKeyValue (type: String.t, default: nil) - This field contains the actual public key.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ContainerAnalysis.V1beta1.Model.SigningKey{
  keyId: String.t() | nil,
  keyScheme: String.t() | nil,
  keyType: String.t() | nil,
  publicKeyValue: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.