Select the cipher used to encrypt encoded private‐key material.
Synopsis
Declared in <openssl/encoder.h>
int
OSSL_ENCODER_CTX_set_cipher(
OSSL_ENCODER_CTX* ctx,
char const* cipher_name,
char const* propquery);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Encoder context to configure. |
cipher_name |
Cipher algorithm name (for example "AES‐256‐CBC"), or NULL to clear. |
propquery |
Property query for fetching the cipher, or NULL. |
Created with MrDocs