asn.1/devicegroup.asn1
author Volker Birk <vb@pep-project.org>
Mon, 16 May 2016 15:36:26 +0200
changeset 633 a2a4ad55e19e
parent 631 b2be2f799950
child 634 a1ba6e8a32eb
permissions -rw-r--r--
better ASN.1
     1 DEVICEGROUP
     2 
     3 DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
     4 
     5 BEGIN
     6 
     7 IMPORTS Identity, KeyList, Header FROM PEP;
     8 
     9 Beacon ::= [APPLICATION 1] SEQUENCE {
    10     header Header,
    11     me Identity
    12 }
    13 
    14 HandshakeRequest ::= [APPLICATION 2] SEQUENCE {
    15     header Header,
    16     you Identity,
    17     me Identity
    18 }
    19 
    20 OwnKeys ::= [APPLICATION 3] SEQUENCE {
    21     header Header,
    22     you Identity,
    23     me Identity,
    24     keylist KeyList
    25 }
    26 
    27 SyncMessage ::= CHOICE {
    28     beacon Beacon,
    29     handshakeRequest HandshakeRequest,
    30     ownKeys OwnKeys
    31 }
    32 
    33 END
    34