Package | Description |
---|---|
org.apache.sshd.common.cipher |
Cipher
implementations. |
org.apache.sshd.common.config.keys.impl | |
org.apache.sshd.common.config.keys.loader.pem | |
org.apache.sshd.common.kex |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<ECCurves> |
ECCurves.BY_KEY_SIZE |
static java.util.List<ECCurves> |
ECCurves.SORTED_KEY_SIZE |
static java.util.Set<ECCurves> |
ECCurves.VALUES
A
Set of all the known curves |
Modifier and Type | Method and Description |
---|---|
static ECCurves |
ECCurves.fromCurveName(java.lang.String name) |
static ECCurves |
ECCurves.fromCurveParameters(java.security.spec.ECParameterSpec params) |
static ECCurves |
ECCurves.fromCurveSize(int keySize) |
static ECCurves |
ECCurves.fromECKey(java.security.interfaces.ECKey key) |
static ECCurves |
ECCurves.fromKeyType(java.lang.String type) |
static ECCurves |
ECCurves.fromOID(java.lang.String oid) |
static ECCurves |
ECCurves.fromOIDValue(java.util.List<? extends java.lang.Number> oid) |
static ECCurves |
ECCurves.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECCurves[] |
ECCurves.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.security.interfaces.ECPublicKey |
ECDSAPublicKeyEntryDecoder.decodePublicKey(ECCurves curve,
java.io.InputStream keyData) |
(package private) static void |
ECDSAPublicKeyEntryDecoder.encodePublicKey(java.io.OutputStream s,
java.lang.String keyType,
ECCurves curve,
java.security.spec.ECPoint w) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map.Entry<ECCurves,ASN1Object> |
ECDSAPEMResourceKeyPairParser.parseCurveParameter(ASN1Object paramsObject) |
static java.util.Map.Entry<ECCurves,ASN1Object> |
ECDSAPEMResourceKeyPairParser.parseCurveParameter(DERParser parser) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map.Entry<java.security.spec.ECPublicKeySpec,java.security.spec.ECPrivateKeySpec> |
ECDSAPEMResourceKeyPairParser.decodeECPrivateKeySpec(ECCurves curve,
ASN1Object sequence)
ASN.1 syntax according to RFC 5915 is:
|
static java.util.Map.Entry<java.security.spec.ECPrivateKeySpec,ASN1Object> |
ECDSAPEMResourceKeyPairParser.decodeECPrivateKeySpec(ECCurves curve,
DERParser parser) |
static java.security.KeyPair |
ECDSAPEMResourceKeyPairParser.parseECKeyPair(ECCurves curve,
DERParser parser) |
Modifier and Type | Field and Description |
---|---|
private ECCurves |
ECDH.curve |
Constructor and Description |
---|
ECDH(ECCurves curve) |