Fix javadoc of NetworkEncryptionUtils.encodeRsaPublicKey (#3130)

This commit is contained in:
enbrain 2022-05-03 22:14:01 +09:00 committed by GitHub
parent 29e6794dc2
commit 9396e14238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ CLASS net/minecraft/class_3515 net/minecraft/network/encryption/NetworkEncryptio
METHOD method_43522 encodeRsaPublicKey (Ljava/security/PublicKey;)Ljava/lang/String;
COMMENT Encodes an RSA public {@code key} to a PEM-formatted key string.
COMMENT
COMMENT <p>A PEM-formatted RSA private key is {@value #RSA_PRIVATE_KEY_PREFIX}, followed
COMMENT by Base64 encoded X.509 encoded key, followed by {@value #RSA_PRIVATE_KEY_SUFFIX}.
COMMENT <p>A PEM-formatted RSA public key is {@value #RSA_PUBLIC_KEY_PREFIX}, followed
COMMENT by Base64 encoded X.509 encoded key, followed by {@value #RSA_PUBLIC_KEY_SUFFIX}.
COMMENT
COMMENT @throws IllegalArgumentException when non-RSA key is passed
COMMENT