<PackageReference Include="Microsoft.Identity.Client" Version="4.85.0" />

Microsoft.Identity.Client.ManagedIdentity.V2.CertificateCacheEntry

In-memory entry owned by the cache. Disposing the entry disposes the certificate it owns.
namespace Microsoft.Identity.Client.ManagedIdentity.V2 { internal sealed class CertificateCacheEntry : IDisposable { public static readonly TimeSpan MinRemainingLifetime; public X509Certificate2 Certificate { get; } public DateTimeOffset NotAfterUtc { get; } public string Endpoint { get; } public string ClientId { get; } public bool IsDisposed { get; } public CertificateCacheEntry(X509Certificate2 certificate, DateTimeOffset notAfterUtc, string endpoint, string clientId); public bool IsExpiredUtc(DateTimeOffset nowUtc); public void Dispose(); } }