public class StaticEncryptionMaterialsProvider extends Object implements EncryptionMaterialsProvider, Serializable
| Constructor and Description |
|---|
StaticEncryptionMaterialsProvider(EncryptionMaterials materials) |
| Modifier and Type | Method and Description |
|---|---|
EncryptionMaterials |
getEncryptionMaterials()
Returns EncryptionMaterials which the caller can use for encryption.
|
EncryptionMaterials |
getEncryptionMaterials(Map<String,String> materialDescIn)
Retrieves encryption materials matching the specified description from some source.
|
void |
refresh()
Forces this encryption materials provider to refresh its encryption
material.
|
public StaticEncryptionMaterialsProvider(EncryptionMaterials materials)
public EncryptionMaterials getEncryptionMaterials()
EncryptionMaterialsFactorygetEncryptionMaterials in interface EncryptionMaterialsFactorypublic void refresh()
EncryptionMaterialsProviderrefresh in interface EncryptionMaterialsProviderpublic EncryptionMaterials getEncryptionMaterials(Map<String,String> materialDescIn)
EncryptionMaterialsAccessorgetEncryptionMaterials in interface EncryptionMaterialsAccessormaterialDescIn - A Map