What are the different types of instances for KeyFactory?
11,178
You can get the list of supported algorithms for KeyFactory here. You can get a list algorithms supported by other security related classes here
- DiffieHellman : Keys for the Diffie-Hellman KeyAgreement algorithm. Note: key.getAlgorithm() will return "DH" instead of "DiffieHellman".
- DSA: Keys for the Digital Signature Algorithm.
- RSA: Keys for the RSA algorithm (Signature/Cipher).
- EC
Comments
-
user1084509 almost 2 years
When using
KeyFactory kg = KeyFactory.getInstance(ALGORITHM)
what are the different algorithms that could be used? I know there is "DSA", "RSA" but which other are supported?