![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
AcquireAuthenticateInfo() allocates the AuthenticateInfo structure. The format of the AcquireAuthenticateInfo method is:
AuthenticateInfo *AcquireAuthenticateInfo(
const AuthenticateMethod method,const char *path,const HashType hash)
A description of each parameter follows: authenticateThe authenticate type. pathThe keyring path. hashThe hash type. AuthenticateKey() returns WizardTrue if the caller is authenticated. The format of the AuthenticateKey method is:
void AuthenticateKey(AuthenticateInfo *authenticate_info,
ExceptionInfo *exception)
A description of each parameter follows: authenticate_infoThe authenticate info. exceptionReturn any errors or warnings in this structure. DestroyAuthenticateInfo() zeros memory associated with the AuthenticateInfo structure. The format of the DestroyAuthenticateInfo method is:
AuthenticateInfo *DestroyAuthenticateInfo(
AuthenticateInfo *authenticate_info)
A description of each parameter follows: authenticate_infoThe authenticate info. GenerateAuthenticateKey() returns WizardTrue if a secret key is generated and successfully added to the secret key ring. The format of the GenerateAuthenticateKey method is:
WizardBooleanType GenerateAuthenticateKey(
AuthenticateInfo *authenticate_info,ExceptionInfo *exception)
A description of each parameter follows: authenticate_infoThe authenticate info. exceptionReturn any errors or warnings in this structure. GetAuthenticateId() returns the authentication id. The format of the GetAuthenticateId method is:
const StringInfo *GetAuthenticateId(
const AuthenticateInfo *authenticate_info)
A description of each parameter follows: authenticate_infoThe authenticate info. GetAuthenticateKey() returns the authenticate key. The format of the GetAuthenticateKey method is:
const StringInfo *GetAuthenticateKey(
const AuthenticateInfo *authenticate_info)
A description of each parameter follows: authenticate_infoThe authenticate info. GetAuthenticateKeyLength() returns the authenticate key length. The format of the GetAuthenticateKeyLength method is:
size_t GetAuthenticateKeyLength(
const AuthenticateInfo *authenticate_info)
A description of each parameter follows: authenticate_infoThe authenticate info. GetAuthenticateId() returns the authentication passphrase. The format of the GetAuthenticatePassphrase method is:
const char *GetAuthenticatePassphrase(
const AuthenticateInfo *authenticate_info)
A description of each parameter follows: authenticate_infoThe authenticate info. SetAuthenticateId() sets the authentication id. The format of the SetAuthenticateId method is:
void SetAuthenticateId(AuthenticateInfo *authenticate_info,
const StringInfo *id)
A description of each parameter follows: authenticate_infoThe authentication info. idThe id. SetAuthenticateKeyLength() sets the authentication method key length. The format of the SetAuthenticateKeyLength method is:
void SetAuthenticateKeyLength(AuthenticateInfo *authenticate_info,
const unsigned long key_length)
A description of each parameter follows: authenticate_infoThe authenticate info. key_lengthThe key length in bits. SetAuthenticatePassphrase() sets the authentication method key file. The format of the SetAuthenticatePassphrase method is:
void SetAuthenticatePassphrase(AuthenticateInfo *authenticate_info,
const char *passphrase)
A description of each parameter follows: authenticate_infoThe authenticate info. passphraseThe passphrase. |