Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature (v0.3.0)

Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature.

ContainerImageSignature holds necessary metadata to verify a container image signature.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#payload

def payload() -> ::String
Returns
  • (::String) — 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.

#payload=

def payload=(value) -> ::String
Parameter
  • value (::String) — 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
  • (::String) — 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.

#public_key

def public_key() -> ::String
Returns
  • (::String) — Required. An associated public key used to verify the signature.

#public_key=

def public_key=(value) -> ::String
Parameter
  • value (::String) — Required. An associated public key used to verify the signature.
Returns
  • (::String) — Required. An associated public key used to verify the signature.

#sig_alg

def sig_alg() -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
Returns

#sig_alg=

def sig_alg=(value) -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
Parameter
Returns

#signature

def signature() -> ::String
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))))

#signature=

def signature=(value) -> ::String
Parameter
  • value (::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))))
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))))