Index Index for
Section 3
Index Alphabetical
listing for G
Bottom of page Bottom of
page

gss_str_to_oid(3)

NAME

gss_str_to_oid - Construct OID from string.

SYNOPSIS

#include <gssapi/gssapi.h> OM_uint32 gss_str_to_oid( OM_uint32 * minor_status, gss_buffer_t oid_str, gss_OID oid );

PARAMETERS

minor_status Kerberos 5 error code. oid_str Octet string. oid OBJECT IDENTIFIER.

DESCRIPTION

The function gss_str_to_oid() constructs and returns an OID from its printable form. The OID is suitable for release using the function gss_release_oid(). If the input oid_str cannot be translated into an OID, GSS_S_FAILURE status is returned and the oid result is NULL.

RETURN VALUES

GSS_S_COMPLETE 00000000 GSS_S_FAILURE xx0Dxxxx

PORTABILITY CONSIDERATIONS

Implementations should be able to accept the numeric ASN.1 syntax form as described for gss_oid_to_str(), and this form should be used for portability, but implementations of this routine may also accept other formats (e.g., "1.2.3.3").

SEE ALSO

Functions: gss_oid_to_str(3), gss_release_oid(3)

Index Index for
Section 3
Index Alphabetical
listing for G
Top of page Top of
page