diff options
author | Simo Sorce <idra@samba.org> | 2010-07-24 13:02:57 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-28 12:42:15 -0400 |
commit | 7eaa15af2c5b544946bfb2b8c522ba9677527972 (patch) | |
tree | df6035a0a06adf47653b8c001e673677aebf71a5 /source3/librpc/rpc/dcerpc_gssapi.h | |
parent | 1abcbd70aed327ae5233423ce74662241fa9d21a (diff) | |
download | samba-7eaa15af2c5b544946bfb2b8c522ba9677527972.tar.gz samba-7eaa15af2c5b544946bfb2b8c522ba9677527972.tar.bz2 samba-7eaa15af2c5b544946bfb2b8c522ba9677527972.zip |
s3-dcerpc: Add sign/seal with gssapi
Diffstat (limited to 'source3/librpc/rpc/dcerpc_gssapi.h')
-rw-r--r-- | source3/librpc/rpc/dcerpc_gssapi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc_gssapi.h b/source3/librpc/rpc/dcerpc_gssapi.h index ea44e9e383..6367990ac1 100644 --- a/source3/librpc/rpc/dcerpc_gssapi.h +++ b/source3/librpc/rpc/dcerpc_gssapi.h @@ -45,4 +45,14 @@ NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx, bool gse_require_more_processing(struct gse_context *gse_ctx); DATA_BLOB gse_get_session_key(struct gse_context *gse_ctx); +size_t gse_get_signature_length(struct gse_context *gse_ctx, + int seal, size_t payload_size); +NTSTATUS gse_seal(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx, + DATA_BLOB *data, DATA_BLOB *signature); +NTSTATUS gse_unseal(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx, + DATA_BLOB *data, DATA_BLOB *signature); +NTSTATUS gse_sign(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx, + DATA_BLOB *data, DATA_BLOB *signature); +NTSTATUS gse_sigcheck(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx, + DATA_BLOB *data, DATA_BLOB *signature); #endif /* _CLI_PIPE_GSSAPI_H_ */ |