Package org.jenkinsci.remoting.util
Class KeyUtils
java.lang.Object
org.jenkinsci.remoting.util.KeyUtils
Utility methods to help working with
Key
instances.-
Method Summary
-
Method Details
-
equals
Check two keys for equality.- Parameters:
key1
- the first key.key2
- the second key.- Returns:
true
if we can confirm that the two keys are identical,false
otherwise.
-
fingerprint
Returns the MD5 fingerprint of a key formatted in the normal way for key fingerprints- Parameters:
key
- the key.- Returns:
- the MD5 fingerprint of the key.
-