Adapt X509_PUBKEY_set() for use with provided implementations