Encrypted by the certificate public key.
- 参数
-
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. |
- 返回值
-
HITLS_SUCCESS | indicates success. Other values are considered as failure. |