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 class
BCFKSLoadStoreParameter.Builder
static class
BCFKSLoadStoreParameter.EncryptionAlgorithm
static class
BCFKSLoadStoreParameter.MacAlgorithm
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BCFKSLoadStoreParameter.EncryptionAlgorithm
getStoreEncryptionAlgorithm()
Return encryption algorithm used to secure the store and its entries.BCFKSLoadStoreParameter.MacAlgorithm
getStoreMacAlgorithm()
Return encryption algorithm used to secure the store and its entries.PBKDFConfig
getStorePBKDFConfig()
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.
-
-