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