Returns true if the algorithm name matches, and if there's a keySize constraint, will match on that as well.
Returns true only if the algorithm matches.
Returns true only if the algorithm matches. Useful for signature algorithms where we don't care about key size.