getInstance
Parameter name
Parameter values
Notes
algorithm
Supported algorithms are RSA and DSA.
generatePublic
keySpec
This method accepts only classes derived from EncodedKeySpec. Encoding must be X.509.
EncodedKeySpec
RSA and DSA are supported algorithms.