asn.1/devicegroup.asn1
author Krista Grothoff <krista@pep-project.org>
Thu, 27 Oct 2016 21:56:46 +0200
branchENGINE-129
changeset 1343 59f014327d4a
parent 1297 78f5f9894fbd
child 1513 e7f7e42385b5
permissions -rw-r--r--
ENGINE-129: modified test cases on blacklist a bit.
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
edouard@1297
    26
/* TODO: narrow request to single key */
edouard@1297
    27
UpdateRequest ::= NULL 
edouard@1297
    28
vb@711
    29
/* for the tags see end of sync.fsm */
vb@711
    30
vb@1058
    31
DeviceGroup-Protocol ::= SEQUENCE {
vb@1063
    32
    header SEQUENCE {
vb@1063
    33
        version     Version,
vb@1063
    34
        sequence    INTEGER,  /* always increases */
vb@1063
    35
        me          Identity, /* identity of the sender */
vb@1063
    36
        state       INTEGER,  /* state the sender is in */
edouard@1257
    37
        devicegroup BOOLEAN
vb@1063
    38
            /* signals if this message is coming from a device group member */
vb@1063
    39
    },
vb@1063
    40
vb@1058
    41
    payload CHOICE {
vb@1058
    42
        beacon [APPLICATION 2] Beacon,
vb@1058
    43
        handshakeRequest [APPLICATION 3] HandshakeRequest,
edouard@1281
    44
        groupKeys [APPLICATION 4] GroupKeys,
edouard@1297
    45
        groupUpdate [APPLICATION 5] GroupUpdate,
edouard@1297
    46
        updateRequest [APPLICATION 6] UpdateRequest
vb@1058
    47
    }
vb@631
    48
}
vb@631
    49
vb@628
    50
END
vb@628
    51