Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KRB5_RD_SAFE(3)		 BSD Library Functions Manual	       KRB5_RD_SAFE(3)

NAME
     krb5_rd_safe, krb5_rd_priv	-- verifies authenticity of messages

LIBRARY
     Kerberos 5	Library	(libkrb5, -lkrb5)

SYNOPSIS
     #include <krb5.h>

     krb5_error_code
     krb5_rd_priv(krb5_context context,	krb5_auth_context auth_context,
	 const krb5_data *inbuf, krb5_data *outbuf,
	 krb5_replay_data *outdata);

     krb5_error_code
     krb5_rd_safe(krb5_context context,	krb5_auth_context auth_context,
	 const krb5_data *inbuf, krb5_data *outbuf,
	 krb5_replay_data *outdata);

DESCRIPTION
     krb5_rd_safe() and	krb5_rd_priv() parses KRB-SAFE and KRB-PRIV messages
     (as generated by krb5_mk_safe(3) and krb5_mk_priv(3)) from	inbuf and ver-
     ifies its integrity. The user data	part of	the message in put in outbuf.
     The encryption state, including keyblocks and addresses, is taken from
     auth_context.  If the KRB5_AUTH_CONTEXT_RET_SEQUENCE or
     KRB5_AUTH_CONTEXT_RET_TIME	flags are set in the auth_context the sequence
     number and	time are returned in the outdata parameter.

SEE ALSO
     krb5_auth_con_init(3), krb5_mk_priv(3), krb5_mk_safe(3)

HEIMDAL				  May 1, 2006			       HEIMDAL

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=krb5_rd_safe&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help