Subject Public Key Info is the X.509 certificate structure that carries a subject’s public-key value and identifies the key algorithm or type. It helps software determine which public key belongs to the certificate’s subject. section 8.1.4
A Subject Public Key Info section identifies:
- The public-key value itself. section 8.1.4
- The public-key algorithm or type, such as an elliptic-curve key. section 8.1.4
- Key parameters, such as a 256-bit size and the P-256 curve for an elliptic-curve key. section 8.1.4
GitHub’s certificate
A GitHub certificate lists id-ecPublicKey, a 256-bit public key, and the NIST P-256 curve. OpenSSL can extract and decode this key for inspection.
