24package org.cipherpack;
44 this.pk_fingerprt_hash_algo =
"";
45 this.pk_enc_padding_algo =
"";
46 this.pk_enc_hash_algo =
"";
47 this.pk_sign_algo =
"";
48 this.sym_enc_algo =
"";
49 this.sym_enc_nonce_bytes = 0;
52 final String pk_fingerprt_hash_algo_,
53 final String pk_enc_padding_algo_,
54 final String pk_enc_hash_algo_,
55 final String pk_sign_algo_,
56 final String sym_enc_algo_,
57 final long sym_enc_nonce_bytes_) {
58 this.pk_type = pk_type_;
59 this.pk_fingerprt_hash_algo = pk_fingerprt_hash_algo_;
60 this.pk_enc_padding_algo = pk_enc_padding_algo_;
61 this.pk_enc_hash_algo = pk_enc_hash_algo_;
62 this.pk_sign_algo = pk_sign_algo_;
63 this.sym_enc_algo = sym_enc_algo_;
64 this.sym_enc_nonce_bytes = sym_enc_nonce_bytes_;
85 private static String default_pk_type =
"RSA";
86 private static String default_pk_fingerprt_hash_algo =
"SHA-256";
87 private static String default_pk_enc_padding_algo =
"OAEP";
88 private static String default_pk_enc_hash_algo =
"SHA-256";
89 private static String default_pk_sign_algo =
"EMSA1(SHA-256)";
90 private static String default_sym_enc_mac_algo =
"ChaCha20Poly1305";
91 private static long ChaCha_Nonce_BitSize = 96;
106 default_pk_type, default_pk_fingerprt_hash_algo,
107 default_pk_enc_padding_algo, default_pk_enc_hash_algo,
108 default_pk_sign_algo, default_sym_enc_mac_algo, ChaCha_Nonce_BitSize/8
CryptoConfig, contains crypto algorithms settings given at encryption wired via the Cipherpack Data S...
final String pk_enc_hash_algo
final long sym_enc_nonce_bytes
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 pk_enc_padding_algo
final String sym_enc_algo
final String pk_sign_algo
static CryptoConfig getDefault()
Returns default CryptoConfig.
final String pk_fingerprt_hash_algo