Listing All Available Public/Private Key Generators
Retrieving the list of available key generators requires checking the
services provided by all registered providers. The retrieved list of
names can be used in creating a KeyPairGenerator object.
An example of the output:
// This method is implemented in Listing All Available Cryptographic Services
String[] names = getCryptoImpls("KeyPairGenerator");
OID.1.2.840.10040.4.1
DiffieHellman
1.3.14.3.2.12
DH
1.2.840.10040.4.1
DSA
RSA
Post a comment