Function sapnwrfc::binding::RfcGetPartnerSNCKey [] [src]

pub unsafe extern "C" fn RfcGetPartnerSNCKey(
    rfcHandle: RFC_CONNECTION_HANDLE,
    sncKey: *mut SAP_RAW,
    length: *mut c_uint,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Gets partner's SNC key, if any.

\in rfcHandle RFC server connection. If this function is executed on a client connection, RFC_ILLEGAL_STATE will be returned. \out *sncKey Pre-allocated buffer, which will receive the backend user's SNC key. \inout *length Needs to be filled with the buffer length of ssoTicket. The return value will be the byte length of the returned key (if buffer was large enough). Unfortunately in case of RFC_BUFFER_TOO_SMALL the required size is not returned by the GSS library. The maximum length of an SNC key is 1024. \out *errorInfo More error details in case SNC is not active. \return RFC_RC