|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.ssl.util.PublicKeyDeriver
public class PublicKeyDeriver
Utility class for deriving a public key from a given private key.
Constructor Summary | |
---|---|
PublicKeyDeriver()
|
Method Summary | |
---|---|
static java.security.PublicKey |
derivePublicKey(java.security.PrivateKey key)
Utility method for deriving a public key from a given private key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicKeyDeriver()
Method Detail |
---|
public static java.security.PublicKey derivePublicKey(java.security.PrivateKey key) throws java.security.GeneralSecurityException
key
- private key for which we need a public key (DSA or RSA).
java.security.GeneralSecurityException
- if it didn't work
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |