From 33a9b234e7087f573ef08cd7318c6497ba08b439 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Fri, 7 Jul 2017 17:03:42 +0000 Subject: Import MIT KRB5 1.15.1, which will gracefully replace KTH Heimdal. The tarball used in this import is the same tarball used in ports/krb5-115 r435378. Obtained from: http://web.mit.edu/kerberos/dist/ Thanks to: pfg (for all your tireless behind-the-scenes effort) --- doc/html/appdev/refs/api/krb5_mk_priv.html | 190 +++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 doc/html/appdev/refs/api/krb5_mk_priv.html (limited to 'doc/html/appdev/refs/api/krb5_mk_priv.html') diff --git a/doc/html/appdev/refs/api/krb5_mk_priv.html b/doc/html/appdev/refs/api/krb5_mk_priv.html new file mode 100644 index 000000000000..15ed1aed99e8 --- /dev/null +++ b/doc/html/appdev/refs/api/krb5_mk_priv.html @@ -0,0 +1,190 @@ + + + + + + + + krb5_mk_priv - Format a KRB-PRIV message. — MIT Kerberos Documentation + + + + + + + + + + + + + + + + + +
+
+ + +

MIT Kerberos Documentation

+ +
+ + Contents | + previous | + next | + index | + Search | + feedback +
+
+
+ +
+
+
+ +
+
+
+ +
+

krb5_mk_priv - Format a KRB-PRIV message.

+
+
+krb5_error_code krb5_mk_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data * userdata, krb5_data * outbuf, krb5_replay_data * outdata)
+
+ + +++ + + + +
param:

[in] context - Library context

+

[in] auth_context - Authentication context

+

[in] userdata - User data for KRB-PRIV message

+

[out] outbuf - Formatted KRB-PRIV message

+

[out] outdata - Replay cache handle (NULL if not needed)

+
+ +++ + + + +
retval:
    +
  • 0 Success; otherwise - Kerberos error codes
  • +
+
+

This function is similar to krb5_mk_safe() , but the message is encrypted and integrity-protected, not just integrity-protected.

+

The local address in auth_context must be set, and is used to form the sender address used in the KRB-SAFE message. The remote address is optional; if specified, it will be used to form the receiver address used in the message.

+
+
+
+
+

Note

+

If the KRB5_AUTH_CONTEXT_RET_TIME or KRB5_AUTH_CONTEXT_RET_SEQUENCE flag is set in auth_context , the outdata is required.

+

The flags from auth_context specify whether sequence numbers or timestamps will be used to identify the message. Valid values are:

+
+
+ + +
+
+
+
+ +
+
+
+ + + + + \ No newline at end of file -- cgit v1.3