def rsa_oaep_encrypt(certificate_or_public_key, data):
return _encrypt(certificate_or_public_key, data, LibcryptoConst.RSA_PKCS1_OAEP_PADDING)<EOL>
Encrypts a byte string using an RSA public key or certificate. Uses PKCS#1
OAEP padding with SHA1.

:param certificate_or_public_key:
    A PublicKey or Certificate object

:param data:
    A byte string, with a maximum length 41 bytes (or more) less than the
    key length (in bytes)

:raises:
    ValueError - when any of the parameters contain an invalid value
    TypeError - when any of the parameters are of the wrong type
    OSError - when an error is returned by the OS crypto library

:return:
    A byte string of the encrypted data