OSSL_ENCODER_CTX_set_output_structure

Set the desired output structure name for the encoder chain (for example "pkcs8").

Synopsis

Declared in <openssl/encoder.h>

int
OSSL_ENCODER_CTX_set_output_structure(
    OSSL_ENCODER_CTX* ctx,
    char const* output_structure);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxEncoder context to configure.
output_structureStructure name understood by the encoder implementations, or NULL.