Next: Acknowledgements, Previous: Standard GSS API, Up: Top
None of the following functions are standard GSS API functions. As such, they are not declared in gss/api.h, but rather in gss/ext.h (which is included from gss.h). See Header.
req_version: version string to compare with, or NULL
Check library version.
first_oid: (Object ID, read) First Object identifier.
second_oid: (Object ID, read) First Object identifier.
Compare two OIDs for equality. The comparison is "deep", i.e., the actual byte sequences of the OIDs are compared instead of just the pointer equality.
minor_status: (integer, modify) Mechanism specific status code.
src_oid: (Object ID, read) The object identifier to copy.
dest_oid: (Object ID, modify) The resultant copy of @src_oid. Storage associated with this name must be freed by the application, but gss_release_oid() cannot be used generally as it deallocate the the oid structure itself too (use gss_duplicate_oid() if you don't want this problem.)
Make an exact copy of the given OID, that shares no memory areas with the original.
minor_status: (integer, modify) Mechanism specific status code.
src_oid: (Object ID, read) The object identifier to duplicate.
dest_oid: (Object ID, modify) The resultant copy of @src_oid. Storage associated with this name must be freed by the application, by calling gss_release_oid().
Allocate a new OID and make it an exact copy of the given OID, that shares no memory areas with the original.
name: (gss_name_t, read) Name to be compared.
username: Zero terminated string with username.
Compare the username against the output from gss_export_name() invoked on @name, after removing the leading OID. This answers the question whether the particular mechanism would authenticate them as the same principal
input_message: Message to be encapsulated.
token_oid: OID of mechanism.
input_message: Output buffer with encapsulated message.
Wrap a buffer in the mechanism-independent token format. This is used for the initial token of a GSS-API context establishment sequence. It incorporates an identifier of the mechanism type to be used on that context, and enables tokens to be interpreted unambiguously at GSS-API peers. See further section 3.1 of RFC 2743.
input_message: Message to decapsulated.
token_oid: Output buffer with mechanism OID used in message.
input_message: Output buffer with encapsulated message.
Unwrap a buffer in the mechanism-independent token format. This is the reverse of
gss_encapsulate_token
. The translation is loss-less, all data is preserved as is.