talloc: Release talloc 2.3.1
[Samba.git] / source4 / librpc / idl / ntp_signd.idl
blobc081ca0d6b2662a4f554e271bb816dc4b1b5ac71
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;
32 } sign_request;
34 typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out {
35 [value(NTP_SIGND_PROTOCOL_VERSION_0)] uint32 version;
36 ntp_signd_op op;
37 uint32 packet_id;
38 [flag(NDR_REMAINING)] DATA_BLOB signed_packet;
39 } signed_reply;