Set the expected ASN.1 structure name for the encoded input.

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_CTX_set_input_structure(
    OSSL_DECODER_CTX* ctx,
    char const* input_structure);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

ctx

Decoder context to configure.

input_structure

Structure name (for example "EncryptedPrivateKeyInfo"), or NULL.

Created with MrDocs