Top Description Fields Constructors Methods
org.apache.sshd.common.util.security.eddsa

public Class Ed25519PEMResourceKeyParser

extends GenericEd25519PEMResourceKeyParser
Class Inheritance
Imports
java.io.IOException, java.security.GeneralSecurityException, .KeyFactory, .NoSuchAlgorithmException, net.i2p.crypto.eddsa.EdDSAPrivateKey, net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable, .EdDSAParameterSpec, .EdDSAPrivateKeySpec, org.apache.sshd.common.util.security.SecurityUtils, org.apache.sshd.common.util.security.eddsa.generic.EdDSASupport, .GenericEd25519PEMResourceKeyParser

An implementation of GenericEd25519PEMResourceKeyParser tied to the net.i2p.crypto EdDSA security provider.
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final Ed25519PEMResourceKeyParser
Inherited from org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser:
BEGIN_ED25519_MARKERBEGIN_MARKERBEGINNERSED25519_OIDEND_ED25519_MARKEREND_MARKERENDERS

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static EdDSAPrivateKey
decodeEdDSAPrivateKey(byte[] keyData)

public static EdDSAPrivateKey
Inherited from org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser:
decodeEd25519KeyPairextractKeyPairsparseEd25519KeyPairparseEd25519KeyPair

Field Detail

INSTANCEback to summary
public static final Ed25519PEMResourceKeyParser INSTANCE

Hides org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser.INSTANCE.

Constructor Detail

Ed25519PEMResourceKeyParserback to summary
public Ed25519PEMResourceKeyParser()

Method Detail

decodeEdDSAPrivateKeyback to summary
public static EdDSAPrivateKey decodeEdDSAPrivateKey(byte[] keyData) throws IOException, GeneralSecurityException
generateEdDSAPrivateKeyback to summary
public static EdDSAPrivateKey generateEdDSAPrivateKey(byte[] seed) throws GeneralSecurityException