8 references to DateTimeOrDefault
Microsoft.DotNet.SignCheckLibrary (8)
Verification\LinuxPackageVerifier.cs (3)
93
SignedOn = signatureTimestampsMatch.GroupValueOrDefault("signedOn").
DateTimeOrDefault
(DateTime.MaxValue),
94
ExpiryDate = signatureTimestampsMatch.GroupValueOrDefault("expiresOn").
DateTimeOrDefault
(DateTime.MaxValue),
96
EffectiveDate = keyInfoMatch.GroupValueOrDefault("createdOn").
DateTimeOrDefault
(DateTime.MaxValue)
Verification\MachOVerifier.cs (3)
141
return timestampRegex.Match(timestampOutput).GroupValueOrDefault("timestamp").
DateTimeOrDefault
(DateTime.MaxValue);
171
DateTime effectiveOn = effectiveOnRegex.Match(opensslOutput).GroupValueOrDefault("effectiveOn").
DateTimeOrDefault
(DateTime.MaxValue);
172
DateTime expiresOn = expiresOnRegex.Match(opensslOutput).GroupValueOrDefault("expiresOn").
DateTimeOrDefault
(DateTime.MinValue);
Verification\PkgVerifier.cs (2)
124
DateTime signedOnTimestamp = signedOnRegex.Match(signingVerificationOutput).GroupValueOrDefault("timestamp").
DateTimeOrDefault
(DateTime.MaxValue);
134
ExpiryDate = match.GroupValueOrDefault("timestamp").
DateTimeOrDefault
(DateTime.MinValue),