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 Versions); private sealed record GcpPublicMaterial(string VersionName, string Algorithm, byte[] SubjectPublicKeyInfo); }