C
static void SSLRxServerCertificate( TCP_SOCKET hTCP );
Description
Receives ServerCertificate from the remote server, locates the public key information, and executes RSA operation.
Preconditions
Parameters
Parameters |
Description |
hTCP |
the TCP Socket to read from |
Returns
None
Side Effects
None
Remarks
This shortcuts full parsing of the certificate by just finding the Public Key Algorithm identifier for RSA. From there, the following ASN.1 struct is the public key. That struct consists of the value for N, followed by the value for E.