Class Ed25519PEMResourceKeyParser
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.config.keys.loader.AbstractKeyPairResourceParser
org.apache.sshd.common.config.keys.loader.pem.AbstractPEMResourceKeyPairParser
org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser
org.apache.sshd.common.util.security.eddsa.Ed25519PEMResourceKeyParser
- All Implemented Interfaces:
AlgorithmNameProvider,KeyPairResourceLoader,KeyPairResourceParser,KeyPairPEMResourceParser
An implementation of
GenericEd25519PEMResourceKeyParser tied to the net.i2p.crypto EdDSA security
provider.- Author:
- Apache MINA SSHD Project
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser
BEGIN_ED25519_MARKER, BEGIN_MARKER, BEGINNERS, ED25519_OID, END_ED25519_MARKER, END_MARKER, ENDERSFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader
MAX_CIPHER_NAME_LENGTH, MAX_KEY_COMMENT_LENGTH, MAX_KEY_TYPE_NAME_LENGTH, MAX_PRIVATE_KEY_DATA_SIZE, MAX_PUBLIC_KEY_DATA_SIZEFields inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceParser
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.i2p.crypto.eddsa.EdDSAPrivateKeydecodeEdDSAPrivateKey(byte[] keyData) static net.i2p.crypto.eddsa.EdDSAPrivateKeygenerateEdDSAPrivateKey(byte[] seed) Methods inherited from class org.apache.sshd.common.util.security.eddsa.generic.GenericEd25519PEMResourceKeyParser
decodeEd25519KeyPair, extractKeyPairs, parseEd25519KeyPair, parseEd25519KeyPairMethods inherited from class org.apache.sshd.common.config.keys.loader.pem.AbstractPEMResourceKeyPairParser
applyPrivateKeyCipher, extractKeyPairs, getAlgorithm, getAlgorithmIdentifierMethods inherited from class org.apache.sshd.common.config.keys.loader.AbstractKeyPairResourceParser
canExtractKeyPairs, extractKeyPairs, getBeginners, getEnders, getEndingMarkers, loadKeyPairs, separateDataLinesFromHeadersMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader
loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairsMethods inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceParser
canExtractKeyPairs
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Ed25519PEMResourceKeyParser
public Ed25519PEMResourceKeyParser()
-
-
Method Details
-
decodeEdDSAPrivateKey
public static net.i2p.crypto.eddsa.EdDSAPrivateKey decodeEdDSAPrivateKey(byte[] keyData) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-
generateEdDSAPrivateKey
public static net.i2p.crypto.eddsa.EdDSAPrivateKey generateEdDSAPrivateKey(byte[] seed) throws GeneralSecurityException - Throws:
GeneralSecurityException
-