WizardsToolkit  1.0.7
secret.h File Reference
#include "wizard/cipher.h"
#include "wizard/exception.h"
#include "wizard/hash.h"
#include "wizard/hmac.h"
#include "wizard/keyring.h"
#include "wizard/random_.h"
Include dependency graph for secret.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _SecretInfo SecretInfo

Functions

WizardExport const char * GetSecretPassphrase (const SecretInfo *)
WizardExport const StringInfoGetSecretId (const SecretInfo *)
WizardExport const StringInfoGetSecretKey (const SecretInfo *)
WizardExport SecretInfoAcquireSecretInfo (const char *, const HashType, const size_t)
WizardExport SecretInfoDestroySecretInfo (SecretInfo *)
WizardExport size_t GetSecretKeyLength (const SecretInfo *)
WizardExport void SetSecretId (SecretInfo *, const StringInfo *)
WizardExport void SetSecretKeyLength (SecretInfo *, const size_t)
WizardExport void SetSecretPassphrase (SecretInfo *, const char *)
WizardExport WizardBooleanType AuthenticateSecretKey (SecretInfo *, ExceptionInfo *)
WizardExport WizardBooleanType GenerateSecretKey (SecretInfo *, ExceptionInfo *)

Typedef Documentation

typedef struct _SecretInfo SecretInfo

Definition at line 32 of file secret.h.


Function Documentation

WizardExport SecretInfo* AcquireSecretInfo ( const char *  ,
const HashType  ,
const size_t   
)
WizardExport WizardBooleanType AuthenticateSecretKey ( SecretInfo ,
ExceptionInfo  
)
WizardExport const StringInfo* GetSecretId ( const SecretInfo )
WizardExport const StringInfo * GetSecretKey ( const SecretInfo )
WizardExport size_t GetSecretKeyLength ( const SecretInfo )
WizardExport const char* GetSecretPassphrase ( const SecretInfo )
WizardExport void SetSecretId ( SecretInfo ,
const StringInfo  
)
WizardExport void SetSecretKeyLength ( SecretInfo ,
const size_t   
)
WizardExport void SetSecretPassphrase ( SecretInfo ,
const char *   
)

Definition at line 547 of file secret.c.

References _SecretInfo::passphrase, DestroyString(), and ConstantString().

Referenced by SetAuthenticatePassphrase().