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

Name

Description

ctx

Encoder context to configure.

output_structure

Structure name understood by the encoder implementations, or NULL.

Created with MrDocs