Class JcePublicKeyFactory
java.lang.Object
org.apache.sshd.common.util.security.eddsa.jce.JcePublicKeyFactory
- All Implemented Interfaces:
PublicKeyFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPublicKey(PrivateKey key) Given aPrivateKeycomputes the correspondingPublicKey.
-
Constructor Details
-
JcePublicKeyFactory
public JcePublicKeyFactory()
-
-
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
-