protected static void populateKeyInfoCredentialResolverParams(BasicSecurityConfiguration config) {
// Basic resolver for inline info
ArrayList<KeyInfoProvider> providers = new ArrayList<KeyInfoProvider>();
providers.add( new RSAKeyValueProvider() );
providers.add( new DSAKeyValueProvider() );
providers.add( new InlineX509DataProvider() );
KeyInfoCredentialResolver resolver = new BasicProviderKeyInfoCredentialResolver(providers);
config.setDefaultKeyInfoCredentialResolver(resolver);
}