Pretty late! But if anyone will ever need it, this answer shines a ray of light on it. When RSA encryption is used, then d2i_PUBKEY
is used. More rare types of PKCS1 are used with d2i_PublicKey
. For future reference, you could look up their GitHub files and try to notice anything there too.
stanxy