OSSL_DECODER_from_bio

Run decoding from a BIO into objects handled by the context's construct callback.

Synopsis

Declared in <openssl/decoder.h>

int
OSSL_DECODER_from_bio(
    OSSL_DECODER_CTX* ctx,
    BIO* in);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxConfigured decoder context.
inInput BIO (preferably binary mode).