Start an 'NTP signing server' in Samba4.
[kai/samba.git] / source4 / librpc / idl / ntp_signd.idl
1 /*
2   NTP signing IRPC interface
3 */
4
5 #include "idl_types.h"
6
7 [
8   uuid("0da00951-5b6c-4488-9a89-750cac70920c"),
9   version(1.0),
10   pointer_default(unique)
11 ]
12 interface ntp_signd
13 {
14
15         typedef [flag(NDR_BIG_ENDIAN),public] struct {
16                 uint32 version;
17                 uint32 op;
18                 uint32 packet_id;
19                 [flag(NDR_LITTLE_ENDIAN)] uint32 key_id;
20                 [flag(NDR_REMAINING)]   DATA_BLOB packet_to_sign;
21                 
22         } sign_request;
23
24         typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out {
25                 uint32 version;
26                 uint32 op;
27                 uint32 packet_id;
28                 [flag(NDR_REMAINING)]   DATA_BLOB signed_packet;
29         } signed_reply;
30 }