selector.setSubjectAlternativeNames(sans);
assertTrue("The certificate should match the selection criteria.",
selector.match(cert_1));
assertFalse("The certificate should not match "
+ "the selection criteria.", selector.match(cert_2));
sans.clear();
assertTrue("The modification of initialization object "
+ "should not affect the modification "
+ "of internal object.", selector.match(cert_1));
selector.setSubjectAlternativeNames(sans_2.getPairsList());
assertTrue("The certificate should match the selection criteria.",