commit
This commit is contained in:
		
							
								
								
									
										13
									
								
								src/StellaOps.Vexer.Attestation/Dsse/DsseEnvelope.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/StellaOps.Vexer.Attestation/Dsse/DsseEnvelope.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
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);
 | 
			
		||||
		Reference in New Issue
	
	Block a user