supports
Checks if this key spec supports the given algorithm.
For most keys, this means the algorithms must match exactly. Some keys may support multiple algorithms (e.g., RSA keys can support different padding schemes), but this implementation checks for exact matches.
Return
true if the key supports the algorithm, false otherwise
Parameters
required
The algorithm to check