public enum KeyFormat extends Enum<KeyFormat>
Modifier and Type | Method and Description |
---|---|
static KeyFormat |
forIdentifier(String identifier) |
String |
getFingerprint(PublicKey publicKey) |
String |
getIdentifier() |
String |
getKeyAlgorithm() |
KeyFactory |
getKeyFactory() |
List<Algorithm> |
getSignatureAlgorithms() |
Signature |
getSignatureInstance(Algorithm algorithm) |
static KeyFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFormat SSH_DSS
public static final KeyFormat SSH_RSA
public static final KeyFormat UNKOWN
public static KeyFormat[] values()
for (KeyFormat c : KeyFormat.values()) System.out.println(c);
public static KeyFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getIdentifier()
public String getKeyAlgorithm()
public KeyFactory getKeyFactory()
Copyright © 2013-2017. All Rights Reserved.