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

  man pages->HP-UX 11i man pages -> gss_unwrap (3)              
Title
Content
Arch
Section
 

Contents


 gss_unwrap(3)                                                 gss_unwrap(3)




 NAME    [Toc]    [Back]
      gss_unwrap - verify a message with attached message integrity code
      (MIC) and decrypt message content if necessary

 SYNOPSIS    [Toc]    [Back]
      #include <gssapi.h>

      OM_uint32  gss_unwrap (
                OM_uint32 *minor_status,
                gss_ctx_id_t context_handle,
                gss_buffer_t input_message_buffer,
                gss_buffer_t output_message_buffer,
                int *conf_state,
                gss_qop_t *qop_state)

 DESCRIPTION    [Toc]    [Back]
      The gss_unwrap() routine converts a protected message to a usable form
      and verifies the embedded message integrity code (MIC).  The
      conf_state parameter indicates whether the message was encrypted.  The
      qop_state parameter indicates the quality of protection that was used
      to provide the confidentiality and integrity services.

    Input Parameters    [Toc]    [Back]
      context_handle        Specifies the context on which the message
                            arrived.

      input_message_buffer  Specifies the protected message.

      output_message_buffer Specifies the buffer to receive the unwrapped
                            message.

    Output Parameters    [Toc]    [Back]
      conf_state            Returns the requested level of confidentiality
                            and integrity services, as follows:

                            Non-zero    Both confidentiality and integrity
                                        services were used.

                            zero        Only integrity services was used.

      qop_state             Returns the cryptographic algorithm, or quality
                            of protection.

      minor_status          Returns a status code from the security
                            mechanism.

 STATUS CODES    [Toc]    [Back]
      The following status codes can be returned:

      GSS_S_COMPLETE           The routine was completed successfully.




 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 gss_unwrap(3)                                                 gss_unwrap(3)




      GSS_S_BAD_SIG            The signature was incorrect.

      GSS_S_CONTEXT_EXPIRED    The context has already expired.

      GSS_S_CREDENTIALS_EXPIRED    [Toc]    [Back]
                               The context is recognized but the associated
                               credentials have expired.

      GSS_S_DEFECTIVE_TOKEN    The token failed consistency checks.

      GSS_S_DUPLICATE_TOKEN    The token was valid and contained the correct
                               signature but it had already been processed.

      GSS_S_FAILURE            The routine failed.  The context specified in
                               the context_handle parameter was not valid.

      GSS_S_NO_CONTEXT         The context identified in the context_handle
                               parameter was not valid.

      GSS_S_OLD_TOKEN          The token was valid and contained the correct
                               signature but it is too old.

      GSS_S_UNSEQ_TOKEN        The token was valid, and contained a correct
                               MIC for the message, but has been verified
                               out of sequence; a later token has already
                               been received.

      GSS_S_GAP_TOKEN          The token was valid, and contained a correct
                               MIC for the message, but has been verified
                               out of sequence; an earlier expected token
                               has not yet been received.

 AUTHOR    [Toc]    [Back]
      gss_unwrap() was developed by Sun Microsystems, Inc.

 SEE ALSO    [Toc]    [Back]
      gss_get_mic(3), gss_wrap(3).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
gss_wrap HP-UX attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_verify_mic HP-UX check a cryptographic message integrity code (MIC) against a message to verify its integrity
gss_get_mic HP-UX calculate a cryptographic message integrity code (MIC) for a message and return in a token
CSP_VerifyMac Tru64 Verify the message authentication code (CDSA)
VerifyMac Tru64 Verify the message authentication code (CDSA)
CSSM_VerifyMac Tru64 Verify the message authentication code (CDSA)
pick Tru64 select messages by content (only available within the message handling system, mh)
gss_verify_mic Tru64 Verify checksum of a message.
mq_receive Tru64 Receives the oldest, highest-priority message from the message queue (P1003.1b)
scan Tru64 produce a one-line-per-message scan listing (only available within the message handling system, mh)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service