class Google::Apis::ContaineranalysisV1beta1::SigningKey

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

key_id[RW]

key_id is an identifier for the signing key. Corresponds to the JSON property `keyId` @return [String]

key_scheme[RW]

This field contains the corresponding signature scheme. Eg: “rsassa-pss-sha256” . Corresponds to the JSON property `keyScheme` @return [String]

key_type[RW]

This field identifies the specific signing method. Eg: “rsa”, “ed25519”, and “ ecdsa”. Corresponds to the JSON property `keyType` @return [String]

public_key_value[RW]

This field contains the actual public key. Corresponds to the JSON property `publicKeyValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 3363
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 3368
def update!(**args)
  @key_id = args[:key_id] if args.key?(:key_id)
  @key_scheme = args[:key_scheme] if args.key?(:key_scheme)
  @key_type = args[:key_type] if args.key?(:key_type)
  @public_key_value = args[:public_key_value] if args.key?(:public_key_value)
end