Package org.apache.sshd.server.kex
Class Moduli
java.lang.Object
org.apache.sshd.server.kex.Moduli
Helper class to load DH group primes from a file.
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Resource path of internal moduli filestatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map.Entry<String,
List<Moduli.DhGroup>> static List<Moduli.DhGroup>
loadInternalModuli
(URL url) static List<Moduli.DhGroup>
static List<Moduli.DhGroup>
parseModuli
(InputStream inputStream) static List<Moduli.DhGroup>
parseModuli
(Reader reader) static List<Moduli.DhGroup>
parseModuli
(URL url)
-
Field Details
-
INTERNAL_MODULI_RESPATH
Resource path of internal moduli file- See Also:
-
MODULI_TYPE_SAFE
public static final int MODULI_TYPE_SAFE- See Also:
-
MODULI_TESTS_COMPOSITE
public static final int MODULI_TESTS_COMPOSITE- See Also:
-
-
Method Details
-
clearInternalModuliCache
-
loadInternalModuli
- Throws:
IOException
-
parseModuli
- Throws:
IOException
-
parseModuli
- Throws:
IOException
-
parseModuli
- Throws:
IOException
-
parseModuli
- Throws:
IOException
-