Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.google.code.springcryptoutils.core.keystore;
 
 import java.util.Map;

A keystore registry where the keystores are indexed by a logical name.

Author(s):
Mirko Caserta (mirko.caserta@gmail.com)
public class KeyStoreRegistryImpl implements KeyStoreRegistry {
    private Map<StringKeyStoreentries;

    
Sets the registry entries. The map keys are strings representing the logical name of the keystore they're referencing. The logical name is then used by the keystore chooser at runtime to select the desired keystore.

Parameters:
entries the registry entries
See also:
KeyStoreChooser.getKeyStoreName()
    public void setEntries(Map<StringKeyStoreentries) {
        this. = entries;
    }

    
Returns the keystore instance or null if not found.

Parameters:
chooser the keystore chooser
Returns:
the keystore instance or null if not found
See also:
KeyStoreChooser.getKeyStoreName()
    public KeyStore get(KeyStoreChooser chooser) {
        return .get(chooser.getKeyStoreName());
    }
New to GrepCode? Check out our FAQ X