Contents

gss_duplicate_oid(_:_:_:)

Copies an OID into a new object.

Declaration

func gss_duplicate_oid(_ minor_status: UnsafeMutablePointer<OM_uint32>, _ src_oid: gss_OID, _ dest_oid: UnsafeMutablePointer<gss_OID?>) -> OM_uint32

Parameters

  • minor_status:

    A pointer to the secondary status result that provides additional information in case of failure.

  • src_oid:

    The OID to copy.

  • dest_oid:

    A pointer the function uses to return a copy of the OID. Use Gss_release_oid(_:_:) to release this object’s memory when you are done with it.

Mentioned in

Return Value

A status code set to GSS_S_COMPLETE on success. See Function Status for a complete enumeration of status outputs.

See Also

Conversion and Duplication