Serialize a stack of SCTs to TLS format and return the encoded length.
Byte count written (or that would be written) on success, or a negative value on error.
| Name | Description |
|---|---|
| a | Non-NULL stack of SCTs to encode. |
| pp | Optional output pointer: NULL to measure only; *pp == NULL to allocate a buffer the caller must free; otherwise write into *pp. |