Lines Matching defs:expected
235 Collection<SignatureAndHashAlgorithm> algorithms, String expected) {
238 algorithms, expected, null);
243 String expected, PrivateKey signingKey) {
245 if (expected == null && !algorithms.isEmpty()) {
255 if (expected == null ) {
256 return null; // no expected algorithm, no supported algorithm
265 expected.equalsIgnoreCase("rsa")) {
295 if (expected.equalsIgnoreCase("rsa") &&
301 (expected.equalsIgnoreCase("dsa") &&
303 (expected.equalsIgnoreCase("ecdsa") &&
305 (expected.equalsIgnoreCase("ec") &&