public class SimpleMaterialProvider extends Object implements EncryptionMaterialsProvider, Serializable
Constructor and Description |
---|
SimpleMaterialProvider() |
Modifier and Type | Method and Description |
---|---|
SimpleMaterialProvider |
addMaterial(EncryptionMaterials m) |
EncryptionMaterials |
getEncryptionMaterials()
Returns EncryptionMaterials which the caller can use for encryption.
|
EncryptionMaterials |
getEncryptionMaterials(Map<String,String> md)
Retrieves encryption materials matching the specified description from some source.
|
void |
refresh()
Forces this encryption materials provider to refresh its encryption
material.
|
SimpleMaterialProvider |
removeMaterial(Map<String,String> md) |
int |
size() |
SimpleMaterialProvider |
withLatest(EncryptionMaterials m) |
public EncryptionMaterials getEncryptionMaterials(Map<String,String> md)
EncryptionMaterialsAccessor
getEncryptionMaterials
in interface EncryptionMaterialsAccessor
md
- A Mappublic EncryptionMaterials getEncryptionMaterials()
EncryptionMaterialsFactory
getEncryptionMaterials
in interface EncryptionMaterialsFactory
public SimpleMaterialProvider addMaterial(EncryptionMaterials m)
public SimpleMaterialProvider withLatest(EncryptionMaterials m)
public SimpleMaterialProvider removeMaterial(Map<String,String> md)
public int size()
public void refresh()
EncryptionMaterialsProvider
refresh
in interface EncryptionMaterialsProvider
Copyright © 2024. All rights reserved.