MagickCore 7.0.10
|
#include "wizard/studio.h"
#include "wizard/authenticate.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "wizard/secret.h"
Go to the source code of this file.
Data Structures | |
struct | _AuthenticateInfo |
Macros | |
#define | SecretKeyLength 1024 |
#define SecretKeyLength 1024 |
Definition at line 53 of file authenticate.c.
WizardExport AuthenticateInfo * AcquireAuthenticateInfo | ( | const AuthenticateMethod | method, |
const char * | path, | ||
const HashType | hash | ||
) |
Definition at line 100 of file authenticate.c.
References AcquireSecretInfo(), AcquireWizardMemory(), AuthenticateDomain, EnumerateError, _AuthenticateInfo::handle, MemoryError, _AuthenticateInfo::method, SecretAuthenticateMethod, SecretKeyLength, _AuthenticateInfo::signature, ThrowWizardFatalError, _AuthenticateInfo::timestamp, and WizardSignature.
WizardExport WizardBooleanType AuthenticateKey | ( | AuthenticateInfo * | authenticate_info, |
ExceptionInfo * | exception | ||
) |
Definition at line 153 of file authenticate.c.
References AuthenticateDomain, AuthenticateSecretKey(), EnumerateError, GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, WizardFalse, and WizardSignature.
WizardExport AuthenticateInfo * DestroyAuthenticateInfo | ( | AuthenticateInfo * | authenticate_info | ) |
Definition at line 208 of file authenticate.c.
References AuthenticateDomain, DestroySecretInfo(), EnumerateError, GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, RelinquishWizardMemory(), SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport WizardBooleanType GenerateAuthenticateKey | ( | AuthenticateInfo * | authenticate_info, |
ExceptionInfo * | exception | ||
) |
Definition at line 260 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GenerateSecretKey(), GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, WizardFalse, and WizardSignature.
WizardExport const StringInfo * GetAuthenticateId | ( | const AuthenticateInfo * | authenticate_info | ) |
Definition at line 315 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GetSecretId(), GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport const StringInfo * GetAuthenticateKey | ( | const AuthenticateInfo * | authenticate_info | ) |
Definition at line 366 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GetSecretKey(), GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport size_t GetAuthenticateKeyLength | ( | const AuthenticateInfo * | authenticate_info | ) |
Definition at line 417 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GetSecretKeyLength(), GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport const char * GetAuthenticatePassphrase | ( | const AuthenticateInfo * | authenticate_info | ) |
Definition at line 468 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GetSecretPassphrase(), GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport void SetAuthenticateId | ( | AuthenticateInfo * | authenticate_info, |
const StringInfo * | id | ||
) |
Definition at line 521 of file authenticate.c.
References AuthenticateDomain, EnumerateError, GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, SetSecretId(), _AuthenticateInfo::signature, ThrowWizardFatalError, TraceEvent, WizardAssert, and WizardSignature.
WizardExport void SetAuthenticateKeyLength | ( | AuthenticateInfo * | authenticate_info, |
const size_t | key_length | ||
) |
Definition at line 572 of file authenticate.c.
References AuthenticateDomain, GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, SetSecretKeyLength(), _AuthenticateInfo::signature, TraceEvent, WizardAssert, and WizardSignature.
WizardExport void SetAuthenticatePassphrase | ( | AuthenticateInfo * | authenticate_info, |
const char * | passphrase | ||
) |
Definition at line 623 of file authenticate.c.
References AuthenticateDomain, GetWizardModule, _AuthenticateInfo::handle, LogWizardEvent(), _AuthenticateInfo::method, SecretAuthenticateMethod, SetSecretPassphrase(), _AuthenticateInfo::signature, TraceEvent, WizardAssert, and WizardSignature.