#define KRB5_NT_MS_PRINCIPAL_AND_ID -129 /**< NT 4 style name */
#define KRB5_NT_ENT_PRINCIPAL_AND_ID -130 /**< NT 4 style name and SID */
-/** Constant version of krb5_principal_data */
+/** Constant version of krb5_principal_data. */
typedef const krb5_principal_data *krb5_const_principal;
#define krb5_princ_realm(context, princ) (&(princ)->realm)
typedef struct _krb5_authdata {
krb5_magic magic;
krb5_authdatatype ad_type; /**< ADTYPE */
- unsigned int length; /**< Length of data */
+ unsigned int length; /**< Length of data */
krb5_octet *contents; /**< Data */
} krb5_authdata;
krb5_enc_data enc_part; /**< Ciphertext of ApRepEncPart */
} krb5_ap_rep;
-/** Cleartext that is encrypted and put into @c _krb5_ap_rep. */
+/** Cleartext that is encrypted and put into @c _krb5_ap_rep. */
typedef struct _krb5_ap_rep_enc_part {
krb5_magic magic;
krb5_timestamp ctime; /**< Client time, seconds portion */
krb5_address **caddrs; /**< Array of pointers to addrs (optional) */
} krb5_cred_info;
-/** Cleartext credentials information. */
+/** Cleartext credentials information. */
typedef struct _krb5_cred_enc_part {
krb5_magic magic;
krb5_int32 nonce; /**< Nonce (optional) */
typedef struct krb5_replay_data {
krb5_timestamp timestamp; /**< Timestamp, seconds portion */
krb5_int32 usec; /**< Timestamp, microseconds portion */
- krb5_ui_4 seq; /**< Sequence number */
+ krb5_ui_4 seq; /**< Sequence number */
} krb5_replay_data;
/* Flags for krb5_auth_con_genaddrs(). */
/** Generate the local network address. */
#define KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR 0x00000001
-/** Generate the remote network address. */
+/** Generate the remote network address. */
#define KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR 0x00000002
/** Generate the local network address and the local port. */
#define KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR 0x00000004
#define KRB5_RECVAUTH_BADAUTHVERS 0x0002
/* initial ticket api functions */
-/** Text for prompt used in prompter callback function. */
+/** Text for prompt used in prompter callback function. */
typedef struct _krb5_prompt {
char *prompt; /**< The prompt to show to the user */
int hidden; /**< Boolean; informative prompt or hidden (e.g. PIN) */
* value is required in order to complete the authentication. The JSON format
* of the challenge is:
*
- * @n {
- * @n "service": <string (optional)>,
- * @n "tokenInfo": [
- * @n {
- * @n "flags": <number>,
- * @n "vendor": <string (optional)>,
- * @n "challenge": <string (optional)>,
- * @n "length": <number (optional)>,
- * @n "format": <number (optional)>,
- * @n "tokenID": <string (optional)>,
- * @n "algID": <string (optional)>,
- * @n },
- * @n ...
- * @n ]
- * @n }
+ * {
+ * "service": <string (optional)>,
+ * "tokenInfo": [
+ * {
+ * "flags": <number>,
+ * "vendor": <string (optional)>,
+ * "challenge": <string (optional)>,
+ * "length": <number (optional)>,
+ * "format": <number (optional)>,
+ * "tokenID": <string (optional)>,
+ * "algID": <string (optional)>,
+ * },
+ * ...
+ * ]
+ * }
*
* The answer to the question MUST be JSON formatted:
*
- * @n {
- * @n "tokeninfo": <number>,
- * @n "value": <string (optional)>,
- * @n "pin": <string (optional)>,
- * @n }
+ * {
+ * "tokeninfo": <number>,
+ * "value": <string (optional)>,
+ * "pin": <string (optional)>,
+ * }
*
* For more detail, please see RFC 6560.
*
* below, and possibly other flags to be added later. Any resemblance to
* similarly-named CKF_* values in the PKCS#11 API should not be depended on.
*
- * @n {
- * @n identity <string> : flags <number>,
- * @n ...
- * @n }
+ * {
+ * identity <string> : flags <number>,
+ * ...
+ * }
*
* The answer to the question MUST be JSON formatted:
*
- * @n {
- * @n identity <string> : password <string>,
- * @n ...
- * @n }
+ * {
+ * identity <string> : password <string>,
+ * ...
+ * }
*
* @version New in 1.12
*/