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