summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/ntp_signd.idl
blob: d94a0a35d92d7dab03951d886c5f87b8a73e5547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
  NTP signing IRPC interface
*/

#include "idl_types.h"

[
  uuid("0da00951-5b6c-4488-9a89-750cac70920c"),
  version(1.0),
  pointer_default(unique)
]
interface ntp_signd
{

	typedef [flag(NDR_BIG_ENDIAN),public] struct {
		uint32 version;
		uint32 op;
		uint32 packet_id;
		[flag(NDR_LITTLE_ENDIAN)] uint32 key_id;
		[flag(NDR_REMAINING)]	DATA_BLOB packet_to_sign;
		
	} sign_request;

	typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out {
		uint32 version;
		uint32 op;
		uint32 packet_id;
		[flag(NDR_REMAINING)]	DATA_BLOB signed_packet;
	} signed_reply;
}