mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
44 lines
783 B
Plaintext
44 lines
783 B
Plaintext
/*
|
|
NTP signing IRPC interface
|
|
*/
|
|
|
|
#include "idl_types.h"
|
|
|
|
[
|
|
uuid("0da00951-5b6c-4488-9a89-750cac70920c"),
|
|
version(1.0),
|
|
pointer_default(unique)
|
|
]
|
|
interface ntp_signd
|
|
{
|
|
|
|
typedef [v1_enum] enum {
|
|
SIGN_TO_CLIENT = 0,
|
|
ASK_SERVER_TO_SIGN = 1,
|
|
SIGNING_SUCCESS = 2,
|
|
SIGNING_FAILURE = 3
|
|
} ntp_signd_op;
|
|
|
|
typedef [flag(NDR_BIG_ENDIAN),public] struct {
|
|
uint32 version;
|
|
ntp_signd_op op;
|
|
uint16 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;
|
|
ntp_signd_op op;
|
|
uint32 packet_id;
|
|
[flag(NDR_REMAINING)] DATA_BLOB signed_packet;
|
|
} signed_reply;
|
|
|
|
void decode_sign_requst(
|
|
[in] sign_request request
|
|
);
|
|
|
|
|
|
}
|