MagickCore 7.0.10
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

◆ SecretInfo

typedef struct _SecretInfo SecretInfo

Definition at line 33 of file secret.h.

Function Documentation

◆ AcquireSecretInfo()

WizardExport SecretInfo * AcquireSecretInfo ( const char *  ,
const HashType  ,
const size_t   
)

◆ AuthenticateSecretKey()

WizardExport WizardBooleanType AuthenticateSecretKey ( SecretInfo ,
ExceptionInfo  
)

◆ DestroySecretInfo()

◆ GenerateSecretKey()

◆ GetSecretId()

WizardExport const StringInfo * GetSecretId ( const SecretInfo )

◆ GetSecretKey()

WizardExport const StringInfo * GetSecretKey ( const SecretInfo secret_info)

◆ GetSecretKeyLength()

WizardExport size_t GetSecretKeyLength ( const SecretInfo secret_info)

◆ GetSecretPassphrase()

WizardExport const char * GetSecretPassphrase ( const SecretInfo secret_info)

◆ SetSecretId()

WizardExport void SetSecretId ( SecretInfo ,
const StringInfo  
)

◆ SetSecretKeyLength()

WizardExport void SetSecretKeyLength ( SecretInfo ,
const size_t   
)

◆ SetSecretPassphrase()

WizardExport void SetSecretPassphrase ( SecretInfo secret_info,
const char *  passphrase 
)

Definition at line 547 of file secret.c.

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

Referenced by SetAuthenticatePassphrase().