Skip to content

Commit

Permalink
Merge pull request #224 from /issues/223-remove-getEphemeralPublicKey
Browse files Browse the repository at this point in the history
Fix #223: Remove CreateTokenResponse#getEphemeralPublicKey
  • Loading branch information
banterCZ authored Aug 2, 2023
2 parents dc9d1b3 + 4f65e2b commit 1c4ec20
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ private TokenInfo createToken() throws InvalidKeySpecException, CryptoProviderEx
eciesRequest.getMac(), eciesRequest.getNonce(), "3.1", null, SignatureType.POSSESSION_KNOWLEDGE);
assertNotNull(tokenResponse.getEncryptedData());
assertNotNull(tokenResponse.getMac());
assertNotNull(tokenResponse.getEphemeralPublicKey());
assertNotNull(tokenResponse.getNonce());
final EciesCryptogram responseCryptogram = new EciesCryptogram(eciesPayload.getCryptogram().getEphemeralPublicKey(), Base64.getDecoder().decode(tokenResponse.getMac()), Base64.getDecoder().decode(tokenResponse.getEncryptedData()));
EciesParameters responseParameters = EciesParameters.builder().nonce(Base64.getDecoder().decode(tokenResponse.getNonce())).build();
Expand Down

0 comments on commit 1c4ec20

Please sign in to comment.