asn.1/devicegroup.asn1
author Volker Birk <vb@pep-project.org>
Mon, 18 Jul 2016 10:15:06 +0200
changeset 907 8f5cca5bfa2d
parent 743 e4b613ebac2f
child 908 f3dd95d4315f
permissions -rw-r--r--
adding OIDs
     1 DEVICEGROUP
     2     { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) pEp (47878) sync (1) keysync (1) }
     3 
     4 DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
     5 
     6 BEGIN
     7 
     8 EXPORTS DeviceGroup-Protocol;
     9 IMPORTS Identity, KeyList, Header FROM PEP;
    10 
    11 Beacon ::= SEQUENCE {
    12     header Header,
    13     state INTEGER,
    14     me Identity
    15 }
    16 
    17 HandshakeRequest ::= SEQUENCE {
    18     header Header,
    19     state INTEGER,
    20     me Identity,
    21     partner Identity
    22 }
    23 
    24 GroupKeys ::= SEQUENCE {
    25     header Header,
    26     state INTEGER,
    27     me Identity,
    28     keylist KeyList
    29 }
    30 
    31 /* for the tags see end of sync.fsm */
    32 
    33 DeviceGroup-Protocol ::= CHOICE {
    34     beacon [APPLICATION 1] Beacon,
    35     handshakeRequest [APPLICATION 2] HandshakeRequest,
    36     groupKeys [APPLICATION 3] GroupKeys
    37 }
    38 
    39 END
    40