asn.1/devicegroup.asn1
author Krista Grothoff <krista@pep-project.org>
Tue, 18 Oct 2016 00:33:42 +0200
branchENGINE-109
changeset 1296 9491e990650c
parent 1281 efff88dcdc59
child 1297 78f5f9894fbd
permissions -rw-r--r--
ENGINE-109: closed branch
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
edouard@1216
    13
HandshakeRequest ::= SEQUENCE {
edouard@1216
    14
    partner Identity /* identity of the receiver */
edouard@1216
    15
}
vb@628
    16
vb@711
    17
GroupKeys ::= SEQUENCE {
edouard@1216
    18
    partner Identity, /* identity of the receiver */
vb@940
    19
    ownIdentities IdentityList
vb@628
    20
}
vb@628
    21
edouard@1281
    22
GroupUpdate ::= SEQUENCE {
edouard@1281
    23
    ownIdentities IdentityList
edouard@1281
    24
}
edouard@1281
    25
vb@711
    26
/* for the tags see end of sync.fsm */
vb@711
    27
vb@1058
    28
DeviceGroup-Protocol ::= SEQUENCE {
vb@1063
    29
    header SEQUENCE {
vb@1063
    30
        version     Version,
vb@1063
    31
        sequence    INTEGER,  /* always increases */
vb@1063
    32
        me          Identity, /* identity of the sender */
vb@1063
    33
        state       INTEGER,  /* state the sender is in */
edouard@1257
    34
        devicegroup BOOLEAN
vb@1063
    35
            /* signals if this message is coming from a device group member */
vb@1063
    36
    },
vb@1063
    37
vb@1058
    38
    payload CHOICE {
vb@1058
    39
        beacon [APPLICATION 2] Beacon,
vb@1058
    40
        handshakeRequest [APPLICATION 3] HandshakeRequest,
edouard@1281
    41
        groupKeys [APPLICATION 4] GroupKeys,
edouard@1281
    42
        groupUpdate [APPLICATION 5] GroupUpdate
vb@1058
    43
    }
vb@631
    44
}
vb@631
    45
vb@628
    46
END
vb@628
    47