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 interfaceBCFKSLoadStoreParameter.CertChainValidatorstatic classBCFKSLoadStoreParameter.EncryptionAlgorithmstatic classBCFKSLoadStoreParameter.MacAlgorithmstatic classBCFKSLoadStoreParameter.SignatureAlgorithm
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BCFKSLoadStoreParameter.CertChainValidatorgetCertChainValidator()java.security.cert.X509Certificate[]getStoreCertificates()BCFKSLoadStoreParameter.EncryptionAlgorithmgetStoreEncryptionAlgorithm()Return encryption algorithm used to secure the store and its entries.BCFKSLoadStoreParameter.MacAlgorithmgetStoreMacAlgorithm()Return mac algorithm used to protect the integrity of the store and its contents.PBKDFConfiggetStorePBKDFConfig()Return the PBKDF used for generating the HMAC and store encryption keys.BCFKSLoadStoreParameter.SignatureAlgorithmgetStoreSignatureAlgorithm()Return signature algorithm used to protect the integrity of the store and its contents.java.security.KeygetStoreSignatureKey()-
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 mac algorithm used to protect the integrity of the store and its contents.- Returns:
- the mac algorithm to use.
-
getStoreSignatureAlgorithm
public BCFKSLoadStoreParameter.SignatureAlgorithm getStoreSignatureAlgorithm()
Return signature algorithm used to protect the integrity of the store and its contents.- Returns:
- the signature algorithm to use.
-
getStoreSignatureKey
public java.security.Key getStoreSignatureKey()
-
getStoreCertificates
public java.security.cert.X509Certificate[] getStoreCertificates()
-
getCertChainValidator
public BCFKSLoadStoreParameter.CertChainValidator getCertChainValidator()
-
-