deserialize

fun deserialize(bytes: ByteArray, origin: Origin): <Error class: unknown class><SignedCertificateTimestamp>(source)

Parses a single SignedCertificateTimestamp from the given bytes.

Return

Result containing the parsed SCT, or a failure with a descriptive error.

Parameters

bytes

Raw SCT bytes in RFC 6962 binary format.

origin

The origin of the SCT (not encoded in the binary format).