File tree 1 file changed +2
-2
lines changed
common/src/main/java/com/joyent/http/signature
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ private KeyFingerprinter() {
46
46
* still the one used by Triton and Manta as the key id.
47
47
*
48
48
* @param keyPair The KeyPair to calculate the fingerprint of
49
- * @return The fingerprint (ex: {@code 9f:0b:50:ae:e3:da:f6:eb:b5:71:9a:69:ee:79:9e:c2})
49
+ * @return The MD5 fingerprint (ex: {@code 9f:0b:50:ae:e3:da:f6:eb:b5:71:9a:69:ee:79:9e:c2})
50
50
*/
51
51
public static String md5Fingerprint (final KeyPair keyPair ) {
52
52
Objects .requireNonNull (keyPair );
@@ -70,7 +70,7 @@ public static String md5Fingerprint(final KeyPair keyPair) {
70
70
* SHA256 of the serialized public key as a fingerprint.
71
71
*
72
72
* @param keyPair The KeyPair to calculate the fingerprint of
73
- * @return The fingerprint (ex: {@code: LP3pWCEhg6rdmE05GhUKbZ7uOZqsJd0sK0AR3sVoMq4})
73
+ * @return The SHA fingerprint (ex: {@code LP3pWCEhg6rdmE05GhUKbZ7uOZqsJd0sK0AR3sVoMq4})
74
74
*/
75
75
public static String sha256Fingerprint (final KeyPair keyPair ) {
76
76
Objects .requireNonNull (keyPair );
You can’t perform that action at this time.
0 commit comments