public class KeyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getFingerPrint(PublicKey key)
Retrieve the public key fingerprint
|
static String |
getKeyType(Key key)
Retrieve the key type
|
static String |
getKeyType(KeyPair kp)
Retrieve the key type
|
public static String getFingerPrint(PublicKey key)
key
- the public keypublic static String getKeyType(KeyPair kp)
kp
- a key pairCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.