1.13.0 (latest) 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ContainerImageSignature : IMessage<ContainerImageSignature>, IEquatable<ContainerImageSignature>, IDeepCloneable<ContainerImageSignature>, IBufferMessage, IMessage

Reference documentation and code samples for the Confidential Computing v1 API class ContainerImageSignature.

ContainerImageSignature holds necessary metadata to verify a container image
signature.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ContainerImageSignature

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ContainerImageSignature](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.ContainerImageSignature.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ContainerImageSignature](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.ContainerImageSignature.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ContainerImageSignature](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.ContainerImageSignature.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ConfidentialComputing.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfidentialComputing.V1/latest/Google.Cloud.ConfidentialComputing.V1.md.txt)

## Assembly

Google.Cloud.ConfidentialComputing.V1.dll

## Constructors

### ContainerImageSignature()

    public ContainerImageSignature()

### ContainerImageSignature(ContainerImageSignature)

    public ContainerImageSignature(ContainerImageSignature other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ContainerImageSignature` |

## Properties

### Payload

    public ByteString Payload { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### PublicKey

    public ByteString PublicKey { get; set; }

Optional. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### SigAlg

    public SigningAlgorithm SigAlg { get; set; }

Optional. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SigningAlgorithm` |   |

### Signature

    public ByteString Signature { get; set; }

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))))`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |