final Map attributes = new HashMap();
attributes.put(IKeyring.KEYRING_DATA_IN,
new ByteArrayInputStream(keyring));
attributes.put(IKeyring.KEYRING_PASSWORD, "password".toCharArray());
Security.addProvider(new Gnu());
kr.load(attributes);
harness.check(true, "load(...)");
harness.check(kr.containsCertificate(ALIAS), "containsCertificate(...)");