| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static interface | |
| public static enum | |
| public static enum | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final X509Certificate[] | |
| private final BCFKSLoadStoreParameter. | |
| private final BCFKSLoadStoreParameter. | |
| private final BCFKSLoadStoreParameter. | |
| private final Key | |
| private final PBKDFConfig | |
| private final BCFKSLoadStoreParameter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BCFKSLoadStoreParameter. | |
| public X509Certificate[] | |
| public BCFKSLoadStoreParameter. | Returns: the encryption algorithm to use.Return encryption algorithm used to secure the store and its entries. |
| public BCFKSLoadStoreParameter. | Returns: the mac algorithm to use.Return mac algorithm used to protect the integrity of the store and its contents. |
| public PBKDFConfig | Returns: the PBKDF to use for deriving HMAC and store encryption keys.Return the PBKDF used for generating the HMAC and store encryption keys. |
| public BCFKSLoadStoreParameter. | Returns: the signature algorithm to use.Return signature algorithm used to protect the integrity of the store and its contents. |
| public Key |
| certificates | back to summary |
|---|---|
| private final X509Certificate[] certificates | |
| encAlg | back to summary |
|---|---|
| private final BCFKSLoadStoreParameter. | |
| macAlg | back to summary |
|---|---|
| private final BCFKSLoadStoreParameter. | |
| sigAlg | back to summary |
|---|---|
| private final BCFKSLoadStoreParameter. | |
| sigKey | back to summary |
|---|---|
| private final Key sigKey | |
| storeConfig | back to summary |
|---|---|
| private final PBKDFConfig storeConfig | |
| validator | back to summary |
|---|---|
| private final BCFKSLoadStoreParameter. | |
| BCFKSLoadStoreParameter | back to summary |
|---|---|
| private BCFKSLoadStoreParameter(BCFKSLoadStoreParameter. | |
| getCertChainValidator | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. | |
| getStoreCertificates | back to summary |
|---|---|
| public X509Certificate[] getStoreCertificates() | |
| getStoreEncryptionAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Return encryption algorithm used to secure the store and its entries.
| |
| getStoreMacAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Return mac algorithm used to protect the integrity of the store and its contents.
| |
| getStorePBKDFConfig | back to summary |
|---|---|
| public PBKDFConfig getStorePBKDFConfig() Return the PBKDF used for generating the HMAC and store encryption keys.
| |
| getStoreSignatureAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Return signature algorithm used to protect the integrity of the store and its contents.
| |
| getStoreSignatureKey | back to summary |
|---|---|
| public Key getStoreSignatureKey() | |
| Modifier and Type | Field and Description |
|---|---|
| private X509Certificate[] | |
| private BCFKSLoadStoreParameter. | |
| private final InputStream | |
| private BCFKSLoadStoreParameter. | |
| private final OutputStream | |
| private final KeyStore. | |
| private BCFKSLoadStoreParameter. | |
| private final Key | |
| private PBKDFConfig | |
| private BCFKSLoadStoreParameter. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Builder(OutputStream
OutputStream to write KeyStore to. out, char[] the password to use to protect the KeyStore. password)Base constructor for storing to an OutputStream using a password. |
| public | Builder(OutputStream
OutputStream to write KeyStore to. out, KeyStore.the protection parameter to use to protect the KeyStore. protectionParameterBase constructor for storing to an OutputStream using a protection parameter. |
| public | Builder(OutputStream
OutputStream to write KeyStore to. out, PrivateKey the key used to protect the integrity of the key store. sigKey)Base constructor for storing to an OutputStream using a protection parameter. |
| public | Builder(InputStream
InputStream to load KeyStore to. in, PublicKey the public key parameter to used to verify the KeyStore. sigKey)Base constructor for reading a KeyStore from an InputStream using a public key for validation. |
| public | Builder(InputStream
InputStream to load KeyStore to. in, BCFKSLoadStoreParameter.the certificate chain validator to check the signing certificates. validatorBase constructor for reading a KeyStore from an InputStream using validation based on encapsulated certificates in the KeyStore data. |
| public | Builder(InputStream
InputStream to read the KeyStore from. in, char[] the password used to protect the KeyStore. password)Base constructor for reading a KeyStore from an InputStream using a password. |
| public | Builder(InputStream
InputStream to read the KeyStore from. in, KeyStore.the protection parameter used to protect the KeyStore. protectionParameterBase constructor for reading a KeyStore from an InputStream using a password. |
| Modifier and Type | Method and Description |
|---|---|
| public BCFKSLoadStoreParameter | |
| public BCFKSLoadStoreParameter. | Returns: the current Builder instance.an array of X509 certificates. certs)Add a valid certificate chain where certs[0] is the end-entity matching the private key we are using to sign the key store. |
| public BCFKSLoadStoreParameter. | Returns: the current Builder instance.the PBKDF config to use for protecting the KeyStore and its keys. encAlgConfigure the encryption algorithm to use for protecting the KeyStore and its keys. |
| public BCFKSLoadStoreParameter. | Returns: the current Builder instance.the PBKDF config to use for protecting the KeyStore. macAlgConfigure the MAC algorithm to use for protecting the KeyStore. |
| public BCFKSLoadStoreParameter. | Returns: the current Builder instance.the PBKDF config to use for protecting the KeyStore. storeConfig)Configure the PBKDF to use for protecting the KeyStore. |
| public BCFKSLoadStoreParameter. | Returns: the current Builder instance.the signature config to use for protecting the KeyStore. sigAlgConfigure the signature algorithm to use for protecting the KeyStore. |
| certs | back to summary |
|---|---|
| private X509Certificate[] certs | |
| encAlg | back to summary |
|---|---|
| private BCFKSLoadStoreParameter. | |
| in | back to summary |
|---|---|
| private final InputStream in | |
| macAlg | back to summary |
|---|---|
| private BCFKSLoadStoreParameter. | |
| out | back to summary |
|---|---|
| private final OutputStream out | |
| protectionParameter | back to summary |
|---|---|
| private final KeyStore. | |
| sigAlg | back to summary |
|---|---|
| private BCFKSLoadStoreParameter. | |
| sigKey | back to summary |
|---|---|
| private final Key sigKey | |
| storeConfig | back to summary |
|---|---|
| private PBKDFConfig storeConfig | |
| validator | back to summary |
|---|---|
| private BCFKSLoadStoreParameter. | |
| Builder | back to summary |
|---|---|
| public Builder() Base constructor for creating a LoadStoreParameter for initializing a key store. | |
| Builder | back to summary |
|---|---|
| public Builder(OutputStream out, char[] password) Base constructor for storing to an OutputStream using a password.
| |
| Builder | back to summary |
|---|---|
| public Builder(OutputStream out, KeyStore. Base constructor for storing to an OutputStream using a protection parameter.
| |
| Builder | back to summary |
|---|---|
| public Builder(OutputStream out, PrivateKey sigKey) Base constructor for storing to an OutputStream using a protection parameter.
| |
| Builder | back to summary |
|---|---|
| public Builder(InputStream in, PublicKey sigKey) Base constructor for reading a KeyStore from an InputStream using a public key for validation.
| |
| Builder | back to summary |
|---|---|
| public Builder(InputStream in, BCFKSLoadStoreParameter. Base constructor for reading a KeyStore from an InputStream using validation based on encapsulated certificates in the KeyStore data.
| |
| Builder | back to summary |
|---|---|
| public Builder(InputStream in, char[] password) Base constructor for reading a KeyStore from an InputStream using a password.
| |
| Builder | back to summary |
|---|---|
| public Builder(InputStream in, KeyStore. Base constructor for reading a KeyStore from an InputStream using a password.
| |
| build | back to summary |
|---|---|
| public BCFKSLoadStoreParameter build() Build and return a BCFKSLoadStoreParameter.
| |
| withCertificates | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Add a valid certificate chain where certs[0] is the end-entity matching the private key we are using to sign the key store.
| |
| withStoreEncryptionAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Configure the encryption algorithm to use for protecting the KeyStore and its keys.
| |
| withStoreMacAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Configure the MAC algorithm to use for protecting the KeyStore.
| |
| withStorePBKDFConfig | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Configure the PBKDF to use for protecting the KeyStore.
| |
| withStoreSignatureAlgorithm | back to summary |
|---|---|
| public BCFKSLoadStoreParameter. Configure the signature algorithm to use for protecting the KeyStore.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if valid, false otherwise.the certChain we know about, the end-entity is at position 0. chain)Return true if the passed in chain is valid, false otherwise. |
| isValid | back to summary |
|---|---|
| public boolean isValid(X509Certificate[] chain) Return true if the passed in chain is valid, false otherwise.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| public static BCFKSLoadStoreParameter. |
| AES256_CCM | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| AES256_KWP | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| EncryptionAlgorithm | back to summary |
|---|---|
| private EncryptionAlgorithm() | |
| valueOf | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| values | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| public static BCFKSLoadStoreParameter. |
| HmacSHA3_512 | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| HmacSHA512 | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| MacAlgorithm | back to summary |
|---|---|
| private MacAlgorithm() | |
| valueOf | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| values | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. | |
| public static final BCFKSLoadStoreParameter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| public static BCFKSLoadStoreParameter. |
| SHA3_512withDSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SHA3_512withECDSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SHA3_512withRSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SHA512withDSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SHA512withECDSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SHA512withRSA | back to summary |
|---|---|
| public static final BCFKSLoadStoreParameter. | |
| SignatureAlgorithm | back to summary |
|---|---|
| private SignatureAlgorithm() | |
| valueOf | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |
| values | back to summary |
|---|---|
| public static BCFKSLoadStoreParameter. | |