diff --git a/base/util/src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java b/base/util/src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java index 369e325db5c..79d8e8ae239 100644 --- a/base/util/src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java +++ b/base/util/src/main/java/com/netscape/cmsutil/crypto/CryptoUtil.java @@ -672,7 +672,7 @@ public static KeyPair generateRSAKeyPair(CryptoToken token, int keysize, boolean } if(usages_mask!=null) { String usageMaskList = String.join(",", Stream.of(usages_mask).map(org.mozilla.jss.crypto.KeyPairGeneratorSpi.Usage::name).toArray(String[]::new)); - logger.info("CryptoUtil: generateRSAKeyPair with key usage {}", usageMaskList); + logger.info("CryptoUtil: generateRSAKeyPair with key usage mask {}", usageMaskList); } kg.setKeyPairUsages(usages, usages_mask); @@ -744,7 +744,7 @@ public static KeyPair generateECCKeyPair( } if(usage_mask!=null) { String usageMaskList = String.join(",", Stream.of(usage_mask).map(org.mozilla.jss.crypto.KeyPairGeneratorSpi.Usage::name).toArray(String[]::new)); - logger.info("CryptoUtil: generateECCKeyPair with key usage {}", usageMaskList); + logger.info("CryptoUtil: generateECCKeyPair with key usage mask {}", usageMaskList); } keygen.setKeyPairUsages(usage_ops, usage_mask); keygen.initialize(keysize);