add getModulus function

add getModulus function, useful to check that a Private Key Matches a Certificate