MagickCore 7.0.10
authenticate.h
Go to the documentation of this file.
1/*
2 Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 https://imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Wizard's Toolkit authentication methods.
17*/
18#ifndef _WIZARDSTOOLKIT_AUTHENTICATE_H_
19#define _WIZARDSTOOLKIT_AUTHENTICATE_H_
20
21#include "wizard/exception.h"
22#include "wizard/hash.h"
23#include "wizard/string_.h"
24
25#if defined(__cplusplus) || defined(c_plusplus)
26extern "C" {
27#endif
28
29/*
30 Enum declarations.
31*/
32typedef enum
33{
38
39typedef struct _AuthenticateInfo
41
44 const HashType),
46
47extern WizardExport const char
49
50extern WizardExport const StringInfo
53
54extern WizardExport size_t
56
57extern WizardExport void
61
65
66#if defined(__cplusplus) || defined(c_plusplus)
67}
68#endif
69
70#endif
WizardExport const StringInfo * GetAuthenticateKey(const AuthenticateInfo *)
WizardExport const char * GetAuthenticatePassphrase(const AuthenticateInfo *)
AuthenticateMethod
@ SecretAuthenticateMethod
@ PublicAuthenticateMethod
@ UndefinedAuthenticate
WizardExport size_t GetAuthenticateKeyLength(const AuthenticateInfo *)
WizardExport AuthenticateInfo * DestroyAuthenticateInfo(AuthenticateInfo *)
WizardExport const StringInfo * GetAuthenticateId(const AuthenticateInfo *)
WizardExport WizardBooleanType GenerateAuthenticateKey(AuthenticateInfo *, ExceptionInfo *)
WizardExport void SetAuthenticateKeyLength(AuthenticateInfo *, const size_t)
WizardExport AuthenticateInfo * AcquireAuthenticateInfo(const AuthenticateMethod, const char *, const HashType)
WizardExport void SetAuthenticatePassphrase(AuthenticateInfo *, const char *)
WizardExport void SetAuthenticateId(AuthenticateInfo *, const StringInfo *)
WizardExport WizardBooleanType AuthenticateKey(AuthenticateInfo *, ExceptionInfo *)
HashType
Definition hash.h:28
#define WizardExport
WizardBooleanType
Definition wizard-type.h:26