| Modifier and Type | Method and Description |
|---|---|
static KeyFormat |
forIdentifier(java.lang.String identifier) |
java.lang.String |
getFingerprint(java.security.PublicKey publicKey) |
java.lang.String |
getIdentifier() |
java.lang.String |
getKeyAlgorithm() |
java.security.KeyFactory |
getKeyFactory() |
java.util.List<Algorithm> |
getSignatureAlgorithms() |
java.security.Signature |
getSignatureInstance(Algorithm algorithm) |
static KeyFormat |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getIdentifier()
public java.lang.String getKeyAlgorithm()
public java.security.KeyFactory getKeyFactory()
public java.util.List<Algorithm> getSignatureAlgorithms()
public java.lang.String getFingerprint(java.security.PublicKey publicKey)
public java.security.Signature getSignatureInstance(Algorithm algorithm)
public static KeyFormat forIdentifier(java.lang.String identifier)
Copyright © 2013-2017. All Rights Reserved.