Set the desired output structure name for the encoder chain (for example "pkcs8").
Declared in <openssl/encoder.h>
int
OSSL_ENCODER_CTX_set_output_structure(
OSSL_ENCODER_CTX* ctx,
char const* output_structure);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Encoder context to configure. |
| output_structure | Structure name understood by the encoder implementations, or NULL. |