Extracted the public key from the pem file