java.security.KeyFactory

getInstance

Parameter name

Parameter values

Notes

algorithm

Supported algorithms are RSA and DSA.

 

generatePublic

Parameter name

Parameter values

Notes

keySpec

This method accepts only classes derived from EncodedKeySpec. Encoding must be X.509.

RSA and DSA are supported algorithms.