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) — 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
- 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.
- (::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
- (::String) — Optional. Reserved for future use.
#public_key=
def public_key=(value) -> ::String
- value (::String) — Optional. Reserved for future use.
- (::String) — Optional. Reserved for future use.
#sig_alg
def sig_alg() -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
- (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Optional. Reserved for future use.
#sig_alg=
def sig_alg=(value) -> ::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm
- value (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Optional. Reserved for future use.
- (::Google::Cloud::ConfidentialComputing::V1::SigningAlgorithm) — Optional. Reserved for future use.
#signature
def signature() -> ::String
-
(::String) —
Optional. 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) —
Optional. 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) —
Optional. 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))))