14 lines
523 B
C#
14 lines
523 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace StellaOps.Vexer.Attestation.Dsse;
|
|
|
|
public sealed record DsseEnvelope(
|
|
[property: JsonPropertyName("payload")] string Payload,
|
|
[property: JsonPropertyName("payloadType")] string PayloadType,
|
|
[property: JsonPropertyName("signatures")] IReadOnlyList<DsseSignature> Signatures);
|
|
|
|
public sealed record DsseSignature(
|
|
[property: JsonPropertyName("sig")] string Signature,
|
|
[property: JsonPropertyName("keyid")] string? KeyId);
|