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
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@634
    22
OwnKeys ::= 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@634
    29
DeviceGroup-Protocol ::= CHOICE {
vb@634
    30
    beacon [APPLICATION 1] Beacon,
vb@634
    31
    handshakeRequest [APPLICATION 2] HandshakeRequest,
vb@634
    32
    ownKeys [APPLICATION 3] OwnKeys
vb@631
    33
}
vb@631
    34
vb@628
    35
END
vb@628
    36