Class BCFKSStoreParameter

  • All Implemented Interfaces:
    java.security.KeyStore.LoadStoreParameter

    public class BCFKSStoreParameter
    extends java.lang.Object
    implements java.security.KeyStore.LoadStoreParameter
    LoadStoreParameter to allow configuring of the PBKDF used to generate encryption keys for use in the keystore.
    • Constructor Detail

      • BCFKSStoreParameter

        public BCFKSStoreParameter​(java.io.OutputStream out,
                                   PBKDFConfig storeConfig,
                                   char[] password)
      • BCFKSStoreParameter

        public BCFKSStoreParameter​(java.io.OutputStream out,
                                   PBKDFConfig storeConfig,
                                   java.security.KeyStore.ProtectionParameter protectionParameter)
    • Method Detail

      • getProtectionParameter

        public java.security.KeyStore.ProtectionParameter getProtectionParameter()
        Specified by:
        getProtectionParameter in interface java.security.KeyStore.LoadStoreParameter
      • getOutputStream

        public java.io.OutputStream getOutputStream()
      • 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.