OscoreOptionValue
class OscoreOptionValue(partialIv: ByteArray? = null, kid: ByteArray? = null, kidContext: ByteArray? = null)(source)
The value of the OSCORE option: the compressed COSE header (RFC 8613 §6.1).
0 1 2 3 4 5 6 7
|0 0 0|h|k| n | Partial IV (n bytes) | s | kid context (s bytes) | kid (rest) |Content copied to clipboard
A field that is null is absent; an empty kid is present but empty, as in RFC 8613 Appendix C.4.