Skip to content

Commit

Permalink
test(jans-auth-server): minor test correction (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
smansoft committed Feb 22, 2022
1 parent 321a8e9 commit 87fef22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public void testGenerateKeys(Algorithm algorithm) {
JSONObject response = cryptoProvider.generateKey(algorithm, expirationTime);
String keyId = response.optString(JWKParameter.KEY_ID);
ECPrivateKey ecPrivateKey = (ECPrivateKey)cryptoProvider.getPrivateKey(keyId);
cryptoProvider.deleteKey(response.optString(keyId));
cryptoProvider.deleteKey(keyId);

byte[] s = Base64Util.bigIntegerToUnsignedByteArray(ecPrivateKey.getS());

Expand Down

0 comments on commit 87fef22

Please sign in to comment.