13 references to GroupValueOrDefault
Microsoft.DotNet.SignCheckLibrary (13)
Utils.cs (1)
296return timezoneRegex.Match(timestamp).GroupValueOrDefault("timezone");
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\PgpVerifier.cs (5)
112string keyId = signatureKeyInfoMatch.GroupValueOrDefault("keyId"); 119SignedOn = signatureTimestampsMatch.GroupValueOrDefault("signedOn").DateTimeOrDefault(DateTime.MaxValue), 120ExpiryDate = signatureTimestampsMatch.GroupValueOrDefault("expiresOn").DateTimeOrDefault(DateTime.MaxValue), 121SignatureAlgorithm = signatureKeyInfoMatch.GroupValueOrDefault("algorithm"), 122EffectiveDate = keyInfoMatch.GroupValueOrDefault("createdOn").DateTimeOrDefault(DateTime.MaxValue)
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")