PWS_PASSWORDS_CONVERT... BSD Library Functions Manual PWS_PASSWORDS_CONVERT...NAMEpws_passwords_converttomulti — Convert an encoded password string to a
PasswordData object
LIBRARY-lpwstor
SYNOPSIS
#include <pwstor.h>
int
pws_passwords_converttomulti(unsigned char *indata,
PasswordData *outdata, uint8_t is_b64);
DESCRIPTION
The pws_passwords_converttomulti() function converts a password string to
a PasswordData structure. A pointer to valid memory large enough to hold
the result must be passed to the function as outdata. The indata argu‐
ment should contain valid password data. If the is_b64 argument is true,
the data contained in indata must be Base64 encoded. If it is false, the
data in indata must not be Base64 encoded.
This function will return zero indicating success, or non-zero indicating
failure.
SEE ALSOpwstor(3)pws_passwords_encode(3), pws_passwords_encodemulti(3),
pws_passwords_check(3), pws_passwords_checkmulti(3)BSD October 23, 2008 BSD