Class: Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/confidentialcomputing/v1/service.rb

Overview

ContainerImageSignature holds necessary metadata to verify a container image signature.

Instance Attribute Summary collapse

Instance Attribute Details

#payload::String

Returns Required. The binary signature payload following the SimpleSigning format https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing. This payload includes the container image digest.

Returns:



223
224
225
226
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 223

class ContainerImageSignature
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#public_key::String

Returns Required. An associated public key used to verify the signature.

Returns:

  • (::String)

    Required. An associated public key used to verify the signature.



223
224
225
226
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 223

class ContainerImageSignature
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sig_alg::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm

Returns Required. The algorithm used to produce the container image signature.

Returns:



223
224
225
226
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 223

class ContainerImageSignature
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#signature::String

Returns Required. A signature over the payload. The container image digest is incorporated into the signature as follows:

  1. Generate a SimpleSigning format payload that includes the container image digest.
  2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: Sign(sha256(SimpleSigningPayload(sha256(Image Manifest)))).

Returns:

  • (::String)

    Required. A signature over the payload. The container image digest is incorporated into the signature as follows:

    1. Generate a SimpleSigning format payload that includes the container image digest.
    2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))


223
224
225
226
# File 'proto_docs/google/cloud/confidentialcomputing/v1/service.rb', line 223

class ContainerImageSignature
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end