Skip to content

Commit

Permalink
Update ServerKeygenUserKeyDefault to use CAEngineConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed May 2, 2023
1 parent f6eb664 commit 2cd9747
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ public void populate(Request request, X509CertInfo info)
EncryptionAlgorithm encryptAlgorithm =
EncryptionAlgorithm.AES_128_CBC_PAD;

ConfigStore caCfg = engine.getConfigStore();

CAEngineConfig caCfg = engine.getConfig();
boolean useOAEP = caCfg.getBoolean("keyWrap.useOAEP",false);

KeyWrapAlgorithm wrapAlgorithm = KeyWrapAlgorithm.RSA;
Expand Down

0 comments on commit 2cd9747

Please sign in to comment.