title: How to acquire Modulus and Exponent from existing RSA Public Key in PHP OpenSSL Library
body: <p>There are Private Key, Public Key, x509 Pem file.
  I want to acquire information about RSA Public Key from these files.</p>
  
  <p>I can confirm it by the shell script as follows.
  $ openssl x509 -in cert.pem -text</p>
  
  <p>...</p>
  
  <pre><code>    Subject Public Key Info:
          Public Key Algorithm: rsaEncryption
          RSA Public Key: (2048 bit)
              Modulus (2048 bit):
                  00:e1:92:dc:05:84:c7:e1:2d:db:f3:48:84:90:32:
                  ...
                  da:7d:2f:95:d2:ab:28:6e:6c:be:0a:af:e0:cb:24:
                  18:db
              Exponent: 65537 (0x10001)
  </code></pre>
  
  <p>...</p>
  
  <p>Can I acquire a value of Modulus and Exponent in PHP OpenSSL library in the same way?</p>