refactor: fix exception message typo

This commit is contained in:
siujamo
2025-06-09 12:00:43 +08:00
parent a4d42722ad
commit 7dfd02f11e
@@ -64,7 +64,7 @@ public interface KeyLoader {
* @see KeyFactory#generatePublic(KeySpec)
*/
default RSAPublicKey loadPublicKey(String modulus, String exponent) {
throw new KeyLoadingException("This key loader does not support RSA Public key loading.");
throw new KeyLoadingException("This key loader does not support loading an RSA public key.");
}
/**