set_libvirt_requested_credential


Description:

[ Version ( since = "1.19.52" ) ]
public bool set_libvirt_requested_credential (int32 index, uint8[] cred) throws Error

pass requested credential back to libvirt

After requesting the index'th credential from the user, call this function to pass the answer back to libvirt.

See "LIBVIRT AUTHENTICATION" in guestfs(3) for documentation and example code.

Parameters:

this

A GuestfsSession object

cred

an array of binary data

cred_size

The size of cred, in bytes

Returns:

true on success, false on error