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 interface` | `BCFKSLoadStoreParameter.CertChainValidator` |
    `static class` | `BCFKSLoadStoreParameter.EncryptionAlgorithm` |
    `static class` | `BCFKSLoadStoreParameter.MacAlgorithm` |
    `static class` | `BCFKSLoadStoreParameter.SignatureAlgorithm` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BCFKSLoadStoreParameter.CertChainValidator` | `getCertChainValidator()` |
    `java.security.cert.X509Certificate[]` | `getStoreCertificates()` |
    `BCFKSLoadStoreParameter.EncryptionAlgorithm` | `getStoreEncryptionAlgorithm()` | Return encryption algorithm used to secure the store and its entries.
    `BCFKSLoadStoreParameter.MacAlgorithm` | `getStoreMacAlgorithm()` | Return mac algorithm used to protect the integrity of the store and its contents.
    `PBKDFConfig` | `getStorePBKDFConfig()` | Return the PBKDF used for generating the HMAC and store encryption keys.
    `BCFKSLoadStoreParameter.SignatureAlgorithm` | `getStoreSignatureAlgorithm()` | Return signature algorithm used to protect the integrity of the store and its contents.
    `java.security.Key` | `getStoreSignatureKey()` |

    - ### Methods inherited from class org.bouncycastle.jcajce.BCLoadStoreParameter

      `getInputStream, getOutputStream, getProtectionParameter`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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()