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
- (::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
- 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.
- (::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
- (::String) — Required. An associated public key used to verify the signature.
#public_key=
def public_key=(value) -> ::String
- value (::String) — Required. An associated public key used to verify the signature.
- (::String) — Required. An associated public key used to verify the signature.
#sig_alg
def sig_alg() -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
- (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Required. The algorithm used to produce the container image signature.
#sig_alg=
def sig_alg=(value) -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
- value (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Required. The algorithm used to produce the container image signature.
- (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Required. The algorithm used to produce the container image signature.
#signature
def signature() -> ::String
-
(::String) —
Required. A signature over the payload. The container image digest is incorporated into the signature as follows:
- Generate a SimpleSigning format payload that includes the container image digest.
- 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
-
value (::String) —
Required. A signature over the payload. The container image digest is incorporated into the signature as follows:
- Generate a SimpleSigning format payload that includes the container image digest.
- Generate a signature over SHA256 digest of the payload.
The signature generation process can be represented as follows:
Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))
-
(::String) —
Required. A signature over the payload. The container image digest is incorporated into the signature as follows:
- Generate a SimpleSigning format payload that includes the container image digest.
- Generate a signature over SHA256 digest of the payload.
The signature generation process can be represented as follows:
Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))