* local credential resolver
*/
protected Collection<? extends Credential> resolveByPublicKey(PublicKey publicKey) throws SecurityException {
ArrayList<Credential> localCreds = new ArrayList<Credential>();
CriteriaSet criteriaSet = new CriteriaSet( new PublicKeyCriteria(publicKey) );
for (Credential cred : getLocalCredentialResolver().resolve(criteriaSet)) {
if (isLocalCredential(cred)) {
localCreds.add(cred);
}
}