Key.getAlgorithm

Key.getAlgorithm

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract String getAlgorithm()
Returns
the name of the algorithm this key is for, or null if the algorithm this key is for is unknown.
Description
Returns the standard algorithm name this key is for. For example, "DSA" would indicate that this key is a DSA key. Note that this method may return null, when the algorithm this key is for is unknown.

See Appendix A in the Java Cryptography Architecture API Specification & Reference for information about standard algorithm names.