File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/io/fusionauth/pem Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public class PEMEncoder {
56
56
*
57
57
* @param privateKey the private key
58
58
* @param publicKey the public key
59
- * @return a string encoded PEM
59
+ * @return a PEM Encoded key
60
60
*/
61
61
public String encode (PrivateKey privateKey , PublicKey publicKey ) {
62
62
if (privateKey == null && publicKey == null ) {
@@ -149,7 +149,7 @@ public String encode(PrivateKey privateKey, PublicKey publicKey) {
149
149
* Both values may no be null.
150
150
*
151
151
* @param key the key, this parameter may be of type <code>PrivateKey</code> <code>PublicKey</code>
152
- * @return a string encoded PEM
152
+ * @return a PEM encoded key
153
153
*/
154
154
public String encode (Key key ) {
155
155
if (key instanceof PrivateKey ) {
@@ -162,10 +162,10 @@ public String encode(Key key) {
162
162
}
163
163
164
164
/**
165
- * Encodes the certificate as a X.509 PEM certificate .
165
+ * Encode the X.509 certificate in a PEM format and return a string .
166
166
*
167
167
* @param certificate The certificate
168
- * @return The encoded PEM certificate.
168
+ * @return a PEM encoded certificate
169
169
*/
170
170
public String encode (Certificate certificate ) {
171
171
try {
You can’t perform that action at this time.
0 commit comments