d2i_SCT_LIST

Decode a DER-encoded list of Signed Certificate Timestamps.

Synopsis

Declared in <openssl/ct.h>

stack_st_SCT*
d2i_SCT_LIST(
    stack_st_SCT** a,
    unsigned char const** pp,
    long len);

Return Value

Stack of SCT values, or NULL on failure (position of *pp is then undefined).

Parameters

NameDescription
aOptional destination: NULL or *a NULL allocates a new stack the caller must free with SCT_LIST_free(); otherwise replaces *a.
ppAddress of a pointer to the DER input; advanced past the decoded value on success.
lenNumber of bytes available at *pp.