Encrypted by the certificate public key.
- Parameters
-
ctx | [IN] TLS link object. |
key | [IN] Certificate public key. |
in | [IN] Plaintext. |
inLen | [IN] Plaintext length. |
out | [OUT] Ciphertext. |
outLen | [IN/OUT] IN: maximum ciphertext length OUT: actual ciphertext length. |
- Return values
-
HITLS_SUCCESS | indicates success. Other values are considered as failure. |