Package | Description |
---|---|
java.security |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
KeyFactory.generatePrivate(KeySpec keySpec)
Generates a private key object from the provided key specification (key material).
|
PublicKey |
KeyFactory.generatePublic(KeySpec keySpec)
Generates a public key object from the provided key specification (key material).
|