Skip to content

Commit

Permalink
Added mutable encryption config to BasicFunctionalityIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Thendo20 committed Jun 24, 2024
1 parent 4200e5c commit 65b7e08
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions datasafe-business/src/test/resources/config/mutable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ keystore:
encryptionAlgo: AES256_KWP
pbkdf:
scrypt:
cost: 1
blockSize: 2
parallelization: 3
saltLength: 32
cost: 16384
blockSize: 8
parallelization: 1
saltLength: 16
macAlgo: HmacSHA3_512
passwordKeysAlgo: PBEWithHmacSHA256AndAES_256
keys:
encKeyNumber: 1
signKeyNumber: 2
secret:
algo: AES
size: 512
size: 256
encrypting:
algo: RSA
size: 256
size: 2048
sigAlgo: SHA256withRSA
# curve:
# curve: NULL
signing:
algo: RSA
size: 256
size: 2048
sigAlgo: SHA256withRSA
# curve: curve
# curve: NULL
cms:
algo: SHA256withRSA
algo: AES256_GCM
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ KeyCreationConfig.EncryptingKeyCreationCfg toEncryptingKeyCreationCfg() {
builder.sigAlgo(sigAlgo);
}

if (null != curve) {

builder.curve(curve);
}


return builder.build();
}
Expand Down Expand Up @@ -231,9 +231,9 @@ KeyCreationConfig.SigningKeyCreationCfg toSigningKeyCreationCfg() {
builder.sigAlgo(sigAlgo);
}

if (null != curve) {

builder.curve(curve);
}


return builder.build();
}
Expand Down

0 comments on commit 65b7e08

Please sign in to comment.