prabhashkr commented on code in PR #21483:
URL: https://github.com/apache/kafka/pull/21483#discussion_r2888227378
##########
clients/src/main/java/org/apache/kafka/common/security/oauthbearer/internals/secured/assertion/AssertionUtils.java:
##########
@@ -64,30 +64,41 @@ public class AssertionUtils {
*/
public static PrivateKey privateKey(byte[] privateKeyContents,
Optional<String> passphrase) throws
GeneralSecurityException, IOException {
+ byte[] derEncodedBytes =
Base64.getDecoder().decode(privateKeyContents);
Review Comment:
"DER" stands for Distinguished Encoding Rules (an ASN.1 binary format).
Renaming it for better understanding.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]