asn.1/devicegroup.asn1
author Volker Birk <vb@pep-project.org>
Thu, 02 Jun 2016 13:46:38 +0200
changeset 711 d88dea0f5448
parent 690 3ae86b68fdfe
child 743 e4b613ebac2f
permissions -rw-r--r--
slightly redesigning things
vb@633
     1
DEVICEGROUP
vb@633
     2
vb@633
     3
DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
vb@633
     4
vb@628
     5
BEGIN
vb@628
     6
vb@633
     7
IMPORTS Identity, KeyList, Header FROM PEP;
vb@633
     8
vb@634
     9
Beacon ::= SEQUENCE {
vb@633
    10
    header Header,
vb@690
    11
    state INTEGER,
vb@633
    12
    me Identity
vb@628
    13
}
vb@628
    14
vb@634
    15
HandshakeRequest ::= SEQUENCE {
vb@633
    16
    header Header,
vb@690
    17
    state INTEGER,
vb@650
    18
    me Identity,
vb@651
    19
    partner Identity
vb@628
    20
}
vb@628
    21
vb@711
    22
GroupKeys ::= SEQUENCE {
vb@633
    23
    header Header,
vb@690
    24
    state INTEGER,
vb@633
    25
    me Identity,
vb@633
    26
    keylist KeyList
vb@628
    27
}
vb@628
    28
vb@711
    29
/* for the tags see end of sync.fsm */
vb@711
    30
vb@634
    31
DeviceGroup-Protocol ::= CHOICE {
vb@634
    32
    beacon [APPLICATION 1] Beacon,
vb@634
    33
    handshakeRequest [APPLICATION 2] HandshakeRequest,
vb@711
    34
    groupKeys [APPLICATION 3] GroupKeys
vb@631
    35
}
vb@631
    36
vb@628
    37
END
vb@628
    38