source: trunk/server/source4/librpc/idl/ntp_signd.idl

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 935 bytes
Line 
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]
12interface ntp_signd
13{
14
15 const int NTP_SIGND_PROTOCOL_VERSION_0 = 0;
16
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;
24
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
32 } sign_request;
33
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;
40
41 void decode_sign_requst(
42 [in] sign_request request
43 );
44
45
46}
Note: See TracBrowser for help on using the repository browser.