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.-
Field Summary
FieldsFields inherited from class GenericEd25519PEMResourceKeyParser
BEGIN_ED25519_MARKER, BEGIN_MARKER, BEGINNERS, ED25519_OID, END_ED25519_MARKER, END_MARKER, ENDERSFields inherited from class AbstractLoggingBean
logFields inherited from interface 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 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 GenericEd25519PEMResourceKeyParser
decodeEd25519KeyPair, extractKeyPairs, parseEd25519KeyPair, parseEd25519KeyPairMethods inherited from class AbstractPEMResourceKeyPairParser
applyPrivateKeyCipher, extractKeyPairs, getAlgorithm, getAlgorithmIdentifierMethods inherited from class AbstractKeyPairResourceParser
canExtractKeyPairs, extractKeyPairs, getBeginners, getEnders, getEndingMarkers, loadKeyPairs, separateDataLinesFromHeadersMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface KeyPairResourceLoader
loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairsMethods inherited from interface 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
-