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
Share:
11,178
user1084509
Author by

user1084509

Web developer programmer using J2EE

Updated on June 04, 2022

Comments

  • user1084509
    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?