7 writes to ValidityNotBefore
aspire (1)
JsonSourceGenerationContext.DevCertInfo.g.cs (1)
139
Setter = static (obj, value) => ((global::Aspire.Cli.Certificates.DevCertInfo)obj).
ValidityNotBefore
= value!,
Aspire.Cli.Tests (6)
Certificates\CertificateServiceTests.cs (6)
31
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.Full, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
70
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.None, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
77
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.Full, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
121
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.Partial, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
168
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.Full, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
205
Certificates = [new DevCertInfo { Version = 5, TrustLevel = DevCertTrustLevel.None, IsHttpsDevelopmentCertificate = true,
ValidityNotBefore
= DateTimeOffset.Now.AddDays(-1), ValidityNotAfter = DateTimeOffset.Now.AddDays(365) }]
5 references to ValidityNotBefore
aspire (5)
Certificates\BundleCertificateToolRunner.cs (1)
116
.Where(c => c.IsHttpsDevelopmentCertificate && c.
ValidityNotBefore
<= now && now <= c.ValidityNotAfter)
Certificates\SdkCertificateToolRunner.cs (1)
91
.Where(c => c.IsHttpsDevelopmentCertificate && c.
ValidityNotBefore
<= now && now <= c.ValidityNotAfter)
DotNet\DotNetCliRunner.cs (1)
521
.Where(c => c.IsHttpsDevelopmentCertificate && c.
ValidityNotBefore
<= now && now <= c.ValidityNotAfter)
JsonSourceGenerationContext.DevCertInfo.g.cs (2)
138
Getter = static obj => ((global::Aspire.Cli.Certificates.DevCertInfo)obj).
ValidityNotBefore
,
263
writer.WriteString(PropName_ValidityNotBefore, ((global::Aspire.Cli.Certificates.DevCertInfo)value).
ValidityNotBefore
);