asn.1/devicegroup.asn1
author Volker Birk <vb@pep-project.org>
Sun, 29 May 2016 12:21:50 +0200
changeset 690 3ae86b68fdfe
parent 651 3543ea5e8b02
child 711 d88dea0f5448
permissions -rw-r--r--
adding sending
     1 DEVICEGROUP
     2 
     3 DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
     4 
     5 BEGIN
     6 
     7 IMPORTS Identity, KeyList, Header FROM PEP;
     8 
     9 Beacon ::= SEQUENCE {
    10     header Header,
    11     state INTEGER,
    12     me Identity
    13 }
    14 
    15 HandshakeRequest ::= SEQUENCE {
    16     header Header,
    17     state INTEGER,
    18     me Identity,
    19     partner Identity
    20 }
    21 
    22 OwnKeys ::= SEQUENCE {
    23     header Header,
    24     state INTEGER,
    25     me Identity,
    26     keylist KeyList
    27 }
    28 
    29 DeviceGroup-Protocol ::= CHOICE {
    30     beacon [APPLICATION 1] Beacon,
    31     handshakeRequest [APPLICATION 2] HandshakeRequest,
    32     ownKeys [APPLICATION 3] OwnKeys
    33 }
    34 
    35 END
    36