CryptoConfig, contains crypto algorithms settings given at encryption wired via the Cipherpack Data Stream, hence received and used at decryption if matching keys are available.
More...
|
| CryptoConfig () |
|
| CryptoConfig (final String pk_type_, final String pk_fingerprt_hash_algo_, final String pk_enc_padding_algo_, final String pk_enc_hash_algo_, final String pk_sign_algo_, final String sym_enc_algo_, final long sym_enc_nonce_bytes_) |
|
final String | toString () |
|
final boolean | valid () |
|
CryptoConfig, contains crypto algorithms settings given at encryption wired via the Cipherpack Data Stream, hence received and used at decryption if matching keys are available.
- See also
- Cipherpack Overview
-
Cipherpack Data Stream
Definition at line 33 of file CryptoConfig.java.
◆ CryptoConfig() [1/2]
org.cipherpack.CryptoConfig.CryptoConfig |
( |
| ) |
|
◆ CryptoConfig() [2/2]
org.cipherpack.CryptoConfig.CryptoConfig |
( |
final String |
pk_type_, |
|
|
final String |
pk_fingerprt_hash_algo_, |
|
|
final String |
pk_enc_padding_algo_, |
|
|
final String |
pk_enc_hash_algo_, |
|
|
final String |
pk_sign_algo_, |
|
|
final String |
sym_enc_algo_, |
|
|
final long |
sym_enc_nonce_bytes_ |
|
) |
| |
◆ valid()
final boolean org.cipherpack.CryptoConfig.valid |
( |
| ) |
|
◆ toString()
final String org.cipherpack.CryptoConfig.toString |
( |
| ) |
|
◆ getDefault()
static CryptoConfig org.cipherpack.CryptoConfig.getDefault |
( |
| ) |
|
|
static |
Returns default CryptoConfig.
- Public-Key type is
RSA
.
- Public key fingerprint hash algorithm is
SHA-256
.
- Public-Key padding algorithm is
OAEP
.
- Public-Key hash algorithm is
SHA-256
.
- Public-Key hash algorithm is
EMSA1(SHA-256)
.
- Symmetric Authenticated Encryption with Additional Data (AEAD) encryption+MAC cipher algo is
ChaCha20Poly1305
.
- Symmetric AEAD ChaCha Nonce size 96 bit for one message per symmetric-key. Sizes are usually: 64-bit classic, 96-bit IETF, 192-bit big.
Definition at line 104 of file CryptoConfig.java.
◆ pk_type
final String org.cipherpack.CryptoConfig.pk_type |
◆ pk_fingerprt_hash_algo
final String org.cipherpack.CryptoConfig.pk_fingerprt_hash_algo |
◆ pk_enc_padding_algo
final String org.cipherpack.CryptoConfig.pk_enc_padding_algo |
◆ pk_enc_hash_algo
final String org.cipherpack.CryptoConfig.pk_enc_hash_algo |
◆ pk_sign_algo
final String org.cipherpack.CryptoConfig.pk_sign_algo |
◆ sym_enc_algo
final String org.cipherpack.CryptoConfig.sym_enc_algo |
◆ sym_enc_nonce_bytes
final long org.cipherpack.CryptoConfig.sym_enc_nonce_bytes |
The documentation for this class was generated from the following file: