Class CipherParams


  • public abstract class CipherParams
    extends java.lang.Object
    Defines important crypto constants used in the application.

    Warning: The class defines constants that (if changed) can lead to invalidated ciphertext data. Do not change any of these parameters unless you know what you are doing!

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CERTIFICATE_IDENTIFIER
      Certificate alias used to identify server certificate in the key store.
      static java.lang.String CERTIFICATE_KEYPAIR_ALGORITHM
      Key generation algorithm name used for the key pair generation (used for the self-signed certificate).
      static int CERTIFICATE_KEYPAIR_SIZE
      Key size used for the key pair generation (used for the self-signed certificate).
      static java.lang.String CERTIFICATE_ORGANIZATION
      Organization (O) set in the RDN of the self-signed certificate.
      static java.lang.String CERTIFICATE_ORGUNIT
      Organizational unit (OU) set in the RDN of the self-signed certificate.
      static java.security.Provider CRYPTO_PROVIDER
      Defines the cryptography provider used in the application.
      static java.lang.String CRYPTO_PROVIDER_ID
      Defines the name of the cryptography provider.
      static org.bouncycastle.crypto.Digest KEY_DERIVATION_DIGEST
      Hash function used in the HKDF key derivation algorithm for deriving keys from a master key.
      static byte[] KEY_DERIVATION_INFO
      Additional info used in the HKDF key derivation algorithm.
      static java.lang.String MASTER_KEY_DERIVATION_FUNCTION
      Password-based key derivation function used to generate the master key from the user's password.
      static int MASTER_KEY_DERIVATION_ROUNDS
      Number of rounds the password-based key derivation function is applied during the master key generation process.
      static int MASTER_KEY_SALT_SIZE
      Size of the salt used to generate the master key.
      static int MASTER_KEY_SIZE
      Size of a generated master key (in bits).
    • Constructor Summary

      Constructors 
      Constructor Description
      CipherParams()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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