Coverage for aiocoap/numbers/eaditem.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-11-02 23:12 +0000

1# SPDX-FileCopyrightText: Christian Amsüss and the aiocoap contributors 

2# 

3# SPDX-License-Identifier: MIT 

4 

5"""EDHOC EAD item identifiers 

6 

7These are provided mainly for internal use, as there is no public API yet to 

8influence those EDHOC details. 

9""" 

10 

11from enum import IntEnum 

12 

13 

14class EADLabel(IntEnum): 

15 PADDING = 0 

16 

17 # CPA suggestion from draft-ietf-ace-edhoc-oscore-profile-09 

18 SESSION_ID = 5 

19 REQUEST_CREATION_HINTS = 12 

20 CRED_BY_VALUE = 15 

21 ACCESS_TOKEN = 26