asn.1/devicegroup.asn1
author Volker Birk <vb@pep-project.org>
Mon, 16 May 2016 16:38:38 +0200
changeset 636 7c1ed9b320da
parent 634 a1ba6e8a32eb
child 650 accc0ad7d32c
permissions -rw-r--r--
...
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@633
    11
    me Identity
vb@628
    12
}
vb@628
    13
vb@634
    14
HandshakeRequest ::= SEQUENCE {
vb@633
    15
    header Header,
vb@633
    16
    you Identity,
vb@633
    17
    me Identity
vb@628
    18
}
vb@628
    19
vb@634
    20
OwnKeys ::= SEQUENCE {
vb@633
    21
    header Header,
vb@633
    22
    me Identity,
vb@633
    23
    keylist KeyList
vb@628
    24
}
vb@628
    25
vb@634
    26
DeviceGroup-Protocol ::= CHOICE {
vb@634
    27
    beacon [APPLICATION 1] Beacon,
vb@634
    28
    handshakeRequest [APPLICATION 2] HandshakeRequest,
vb@634
    29
    ownKeys [APPLICATION 3] OwnKeys
vb@631
    30
}
vb@631
    31
vb@628
    32
END
vb@628
    33