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
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@633
     9
Beacon ::= [APPLICATION 1] SEQUENCE {
vb@633
    10
    header Header,
vb@633
    11
    me Identity
vb@628
    12
}
vb@628
    13
vb@633
    14
HandshakeRequest ::= [APPLICATION 2] SEQUENCE {
vb@633
    15
    header Header,
vb@633
    16
    you Identity,
vb@633
    17
    me Identity
vb@628
    18
}
vb@628
    19
vb@633
    20
OwnKeys ::= [APPLICATION 3] SEQUENCE {
vb@633
    21
    header Header,
vb@633
    22
    you Identity,
vb@633
    23
    me Identity,
vb@633
    24
    keylist KeyList
vb@628
    25
}
vb@628
    26
vb@633
    27
SyncMessage ::= CHOICE {
vb@631
    28
    beacon Beacon,
vb@631
    29
    handshakeRequest HandshakeRequest,
vb@631
    30
    ownKeys OwnKeys
vb@631
    31
}
vb@631
    32
vb@628
    33
END
vb@628
    34