isCompatibleWith
Checks if this algorithm is compatible with another algorithm.
Algorithms are compatible if:
They are the same algorithm
They are both RSA variants with the same key size (RSA-2048 is not compatible with RSA-4096)
They are both ECC algorithms with the same curve