Documentation
¶
Overview ¶
Package cbor decodes the RFC 8949 data items WebAuthn carries: one item per call, bounded in size, depth and item count, with no indefinite lengths or tags. Integer width and map key order are not checked (WebAuthn §2.4's canonical form): values are compared, never encodings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is one decoded data item.
func Decode ¶
Decode reads one data item from data and returns the bytes after it. Byte and text strings in the value alias data. Every refusal is one of the package's errors, and nothing sized by the input is allocated before the item is known to be well-formed and within bounds.
Click to show internal directories.
Click to hide internal directories.