fido2.cbor
Minimal CBOR implementation supporting a subset of functionality and types required for FIDO 2 CTAP.
Use the encode()
, decode()
and decode_from()
functions to encode
and decode objects to/from CBOR.
Attributes
Functions
|
Encodes data to a CBOR byte string. |
|
Decodes a CBOR-encoded value from the start of a byte string. |
|
Decodes data from a CBOR-encoded byte string. |
Module Contents
- fido2.cbor.CborType
- fido2.cbor.encode(data)[source]
Encodes data to a CBOR byte string.
- Parameters:
data (CborType)
- Return type: