asn.1/devicegroup.asn1
author Volker Birk <vb@pep.foundation>
Wed, 24 Aug 2016 00:30:50 +0200
branchkeysync
changeset 1077 d22b9d70370d
parent 1063 8f9c94812786
child 1216 76e7a6748913
permissions -rw-r--r--
...
vb@633
     1
DEVICEGROUP
vb@908
     2
    { iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) pEp (47878) sync(1) keysync(1) }
vb@633
     3
vb@633
     4
DEFINITIONS AUTOMATIC TAGS EXTENSIBILITY IMPLIED ::=
vb@633
     5
vb@628
     6
BEGIN
vb@628
     7
vb@743
     8
EXPORTS DeviceGroup-Protocol;
vb@1063
     9
IMPORTS Version, Identity, IdentityList FROM PEP;
vb@633
    10
vb@1077
    11
Beacon ::= NULL
vb@1058
    12
vb@1077
    13
HandshakeRequest ::= NULL
vb@628
    14
vb@711
    15
GroupKeys ::= SEQUENCE {
vb@940
    16
    ownIdentities IdentityList
vb@628
    17
}
vb@628
    18
vb@711
    19
/* for the tags see end of sync.fsm */
vb@711
    20
vb@1058
    21
DeviceGroup-Protocol ::= SEQUENCE {
vb@1063
    22
    header SEQUENCE {
vb@1063
    23
        version     Version,
vb@1063
    24
        sequence    INTEGER,  /* always increases */
vb@1063
    25
        me          Identity, /* identity of the sender */
vb@1063
    26
        state       INTEGER,  /* state the sender is in */
vb@1077
    27
        devicegroup BOOLEAN
vb@1063
    28
            /* signals if this message is coming from a device group member */
vb@1063
    29
    },
vb@1063
    30
vb@1058
    31
    payload CHOICE {
vb@1058
    32
        beacon [APPLICATION 2] Beacon,
vb@1058
    33
        handshakeRequest [APPLICATION 3] HandshakeRequest,
vb@1058
    34
        groupKeys [APPLICATION 4] GroupKeys
vb@1058
    35
    }
vb@631
    36
}
vb@631
    37
vb@628
    38
END
vb@628
    39