public enum KnownHostDigest extends Enum<KnownHostDigest> implements NamedFactory<Mac>
Enum Constant and Description |
---|
SHA1 |
Modifier and Type | Field and Description |
---|---|
static Set<KnownHostDigest> |
VALUES |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier and Type | Method and Description |
---|---|
Mac |
create() |
static KnownHostDigest |
fromName(String name) |
String |
getName() |
static KnownHostDigest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnownHostDigest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
create, setUpBuiltinFactories, setUpTransformedFactories
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public static final KnownHostDigest SHA1
public static final Set<KnownHostDigest> VALUES
public static KnownHostDigest[] values()
for (KnownHostDigest c : KnownHostDigest.values()) System.out.println(c);
public static KnownHostDigest 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 getName()
getName
in interface NamedResource
public static KnownHostDigest fromName(String name)
Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.