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()
EncryptionMaterialsFactory
getEncryptionMaterials
in interface EncryptionMaterialsFactory
public void refresh()
EncryptionMaterialsProvider
refresh
in interface EncryptionMaterialsProvider
public EncryptionMaterials getEncryptionMaterials(Map<String,String> materialDescIn)
EncryptionMaterialsAccessor
getEncryptionMaterials
in interface EncryptionMaterialsAccessor
materialDescIn
- A Map