13 references to GroupValueOrDefault
Microsoft.DotNet.SignCheckLibrary (13)
Utils.cs (1)
298return timezoneRegex.Match(timestamp).GroupValueOrDefault("timezone");
Verification\LinuxPackageVerifier.cs (5)
86string keyId = signatureKeyInfoMatch.GroupValueOrDefault("keyId"); 93SignedOn = signatureTimestampsMatch.GroupValueOrDefault("signedOn").DateTimeOrDefault(DateTime.MaxValue), 94ExpiryDate = signatureTimestampsMatch.GroupValueOrDefault("expiresOn").DateTimeOrDefault(DateTime.MaxValue), 95SignatureAlgorithm = signatureKeyInfoMatch.GroupValueOrDefault("algorithm"), 96EffectiveDate = keyInfoMatch.GroupValueOrDefault("createdOn").DateTimeOrDefault(DateTime.MaxValue)
Verification\MachOVerifier.cs (4)
141return timestampRegex.Match(timestampOutput).GroupValueOrDefault("timestamp").DateTimeOrDefault(DateTime.MaxValue); 171DateTime effectiveOn = effectiveOnRegex.Match(opensslOutput).GroupValueOrDefault("effectiveOn").DateTimeOrDefault(DateTime.MaxValue); 172DateTime expiresOn = expiresOnRegex.Match(opensslOutput).GroupValueOrDefault("expiresOn").DateTimeOrDefault(DateTime.MinValue); 173string algorithm = algorithmRegex.Match(opensslOutput).GroupValueOrDefault("algorithm") ?? SignCheckResources.NA;
Verification\PkgVerifier.cs (3)
124DateTime signedOnTimestamp = signedOnRegex.Match(signingVerificationOutput).GroupValueOrDefault("timestamp").DateTimeOrDefault(DateTime.MaxValue); 134ExpiryDate = match.GroupValueOrDefault("timestamp").DateTimeOrDefault(DateTime.MinValue), 136SignatureAlgorithm = match.GroupValueOrDefault("algorithm")