Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::ContainerImageSignature (v1.1.1)

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) — Optional. 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) — Optional. 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) — Optional. 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) — Optional. Reserved for future use.

#public_key=

def public_key=(value) -> ::String
Parameter
  • value (::String) — Optional. Reserved for future use.
Returns
  • (::String) — Optional. Reserved for future use.

#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) —

    Optional. 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) —

    Optional. 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) —

    Optional. 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))))