get modulus and exponent of the public key