Files
git.stella-ops.org/src/__Libraries/StellaOps.Cryptography.Kms/GcpKmsClient.Models.cs
2026-02-04 19:59:20 +02:00

15 lines
570 B
C#

using System;
using System.Collections.Generic;
namespace StellaOps.Cryptography.Kms;
public sealed partial class GcpKmsClient
{
private sealed record CachedCryptoKey(CryptoKeySnapshot Snapshot, DateTimeOffset ExpiresAt);
private sealed record CachedPublicKey(GcpPublicMaterial Material, DateTimeOffset ExpiresAt);
private sealed record CryptoKeySnapshot(GcpCryptoKeyMetadata Metadata, IReadOnlyList<GcpCryptoKeyVersionMetadata> Versions);
private sealed record GcpPublicMaterial(string VersionName, string Algorithm, byte[] SubjectPublicKeyInfo);
}