Lines Matching refs:cert
132 my ($cert, $pattern, $expected, $name) = @_;
134 run(app(["openssl", "x509", "-noout", "-text", "-in", $cert, "-out", $out]));
135 return test_file_contains(($name ? "$name: " : "").$cert, $out, $pattern, $expected);
140 my ($cert, $expect) = @_;
141 cert_contains($cert, "Version: $expect", 1);
145 my ($cert, $expect) = @_;
146 cert_contains($cert, "Subject Key Identifier", $expect);
150 my ($cert, $expect) = @_;
151 cert_contains($cert, "Authority Key Identifier", $expect);
168 my ($cert, $expected, $exts, $name) = @_;
171 "-in", $cert, "-out", $out]));
173 "$cert '$exts' output should contain $expected different lines");