*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gss_verify_mic (3)              
Title
Content
Arch
Section
 

gss_verify_mic(3)

Contents


NAME    [Toc]    [Back]

       gss_verify_mic - Verify checksum of a message.

SYNOPSIS    [Toc]    [Back]

       #include <gssapi/gssapi.h>

       OM_uint32 gss_verify_mic(
               OM_uint32 * minor_status,
               const gss_ctx_id_t context_handle,
               const gss_buffer_t message_buffer,
               const_gss_buffer_t token_buffer,
               gss_qop_t * qop_state );

PARAMETERS    [Toc]    [Back]

       Kerberos 5 error code.  Security context that contains the
       session key used to verify the message and  its  checksum.
       Message  to be verified.  Buffer containing the token generated
 by gss_get_mic().  Quality of protection (QOP) provided.
 Specify NULL if this information is not required.

              gss_get_mic() contains more information about QOPs.

DESCRIPTION    [Toc]    [Back]

       The gss_verify_mic() function verifies that  the  checksum
       fits  the specified message. This function is used in conjunction
 with gss_get_mic() to protect messages when  they
       are transferred between an application and its peer.

       The  qop_state  parameter  allows  a  message recipient to
       determine the strength of protection applied to  the  message.
  gss_get_mic() contains more information about QOPs.

                                  Note

       This function is a direct replacement for the gss_verify()
       function  used  in  GSS-API  version 1 compliant products,
       including the HP Application Security Toolkit.

       If the function returns  the  GSS_S_COMPLETE  status,  the
       checksum has been verified successfully.

       If  the  function  returns GSS_S_FAILURE, the token may be
       out-of-sequence, old, or a replay. To check for these conditions
  in  the supplementary information fields, AND the
       major status code with a named identifier.

RETURN VALUES    [Toc]    [Back]

       GSS_S_CALL_INACCESSIBLE_READ    01xxxxxx
       GSS_S_CALL_INACCESSIBLE_WRITE   02xxxxxx
       GSS_S_COMPLETE                  00000000
       GSS_S_DEFECTIVE_TOKEN           xx09xxxx
       GSS_S_DUPLICATE_TOKEN           xxxx0002
       GSS_S_FAILURE                   xx0Dxxxx
       GSS_S_NO_CONTEXT                xx08xxxx
       GSS_S_OLD_TOKEN                 xxxx0004
       GSS_S_UNAVAILABLE               xx10xxxx
       GSS_S_UNSEQ_TOKEN               xxxx0008





SEE ALSO    [Toc]    [Back]

      
      
       Functions:  gss_accept_sec_context(3),     gss_get_mic(3),
       gss_init_sec_context(3), gss_release_buffer(3)



                                                gss_verify_mic(3)
[ Back ]
 Similar pages
Name OS Title
gss_unwrap HP-UX verify a message with attached message integrity code (MIC) and decrypt message content if necessary
gss_get_mic Tru64 generate a checksum for a supplied message. Does not include the message
gss_wrap Tru64 generate a checksum for the supplied message. Can also include the message
md5 FreeBSD calculate a message-digest fingerprint (checksum) for a file
sha1 OpenBSD calculate a message-digest fingerprint (checksum) for a file
md5 OpenBSD calculate a message-digest fingerprint (checksum) for a file
rmd160 OpenBSD calculate a message-digest fingerprint (checksum) for a file
gss_verify_mic HP-UX check a cryptographic message integrity code (MIC) against a message to verify its integrity
CSSM_VerifyMac Tru64 Verify the message authentication code (CDSA)
CSP_VerifyMac Tru64 Verify the message authentication code (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service