Package org.bouncycastle.jcajce
Class BCFKSLoadStoreParameter
- java.lang.Object
-
- org.bouncycastle.jcajce.BCLoadStoreParameter
-
- org.bouncycastle.jcajce.BCFKSLoadStoreParameter
-
- All Implemented Interfaces:
java.security.KeyStore.LoadStoreParameter
public class BCFKSLoadStoreParameter extends BCLoadStoreParameter
LoadStoreParameter to allow configuring of the PBKDF used to generate encryption keys for use in the keystore.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBCFKSLoadStoreParameter.Builderstatic classBCFKSLoadStoreParameter.EncryptionAlgorithmstatic classBCFKSLoadStoreParameter.MacAlgorithm
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BCFKSLoadStoreParameter.EncryptionAlgorithmgetStoreEncryptionAlgorithm()Return encryption algorithm used to secure the store and its entries.BCFKSLoadStoreParameter.MacAlgorithmgetStoreMacAlgorithm()Return encryption algorithm used to secure the store and its entries.PBKDFConfiggetStorePBKDFConfig()Return the PBKDF used for generating the HMAC and store encryption keys.-
Methods inherited from class org.bouncycastle.jcajce.BCLoadStoreParameter
getInputStream, getOutputStream, getProtectionParameter
-
-
-
-
Method Detail
-
getStorePBKDFConfig
public PBKDFConfig getStorePBKDFConfig()
Return the PBKDF used for generating the HMAC and store encryption keys.- Returns:
- the PBKDF to use for deriving HMAC and store encryption keys.
-
getStoreEncryptionAlgorithm
public BCFKSLoadStoreParameter.EncryptionAlgorithm getStoreEncryptionAlgorithm()
Return encryption algorithm used to secure the store and its entries.- Returns:
- the encryption algorithm to use.
-
getStoreMacAlgorithm
public BCFKSLoadStoreParameter.MacAlgorithm getStoreMacAlgorithm()
Return encryption algorithm used to secure the store and its entries.- Returns:
- the encryption algorithm to use.
-
-