Class EdDSAPublicKeyFactory
java.lang.Object
org.apache.sshd.common.util.security.eddsa.EdDSAPublicKeyFactory
- All Implemented Interfaces:
PublicKeyFactory
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetPublicKey(PrivateKey key) Given aPrivateKeycomputes the correspondingPublicKey.
-
Field Details
-
INSTANCE
-
-
Method Details
-
getPublicKey
Description copied from interface:PublicKeyFactoryGiven aPrivateKeycomputes the correspondingPublicKey.- Specified by:
getPublicKeyin interfacePublicKeyFactory- Parameters:
key-PrivateKeyto get thePublicKeyfor- Returns:
- the
PublicKey, ornullif no public key could be computed
-