idl: Fix trailing whitespace
[samba4-gss.git] / source4 / librpc / idl / ntp_signd.idl
blobfdbaf48de4366cbb132e014b65a56a8c1ab42e89
1 /*
2 NTP signing IRPC interface
3 */
5 #include "idl_types.h"
8 uuid("0da00951-5b6c-4488-9a89-750cac70920c"),
9 version(1.0),
10 pointer_default(unique)
12 interface ntp_signd
15 const int NTP_SIGND_PROTOCOL_VERSION_0 = 0;
17 typedef [v1_enum] enum {
18 SIGN_TO_CLIENT = 0,
19 ASK_SERVER_TO_SIGN = 1,
20 CHECK_SERVER_SIGNATURE = 2,
21 SIGNING_SUCCESS = 3,
22 SIGNING_FAILURE = 4
23 } ntp_signd_op;
25 typedef [flag(NDR_BIG_ENDIAN),public] struct {
26 [value(NTP_SIGND_PROTOCOL_VERSION_0)] uint32 version;
27 ntp_signd_op op;
28 uint16 packet_id;
29 [flag(NDR_LITTLE_ENDIAN)] uint32 key_id;
30 [flag(NDR_REMAINING)] DATA_BLOB packet_to_sign;
31 } sign_request;
33 typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out {
34 [value(NTP_SIGND_PROTOCOL_VERSION_0)] uint32 version;
35 ntp_signd_op op;
36 uint32 packet_id;
37 [flag(NDR_REMAINING)] DATA_BLOB signed_packet;
38 } signed_reply;