MagickCore 7.0.10
signature.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 ImageMagick digital signature methods.
17*/
18#ifndef _WIZARDSTOOLKIT_SIGNATURE_H
19#define _WIZARDSTOOLKIT_SIGNATURE_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25#define WizardSignatureSize 64
26
27typedef struct _SignatureInfo
28{
29 size_t
33
34 ssize_t
36
37 unsigned char
39
42
43 size_t
46
47extern WizardExport void
50 UpdateSignature(SignatureInfo *,const unsigned char *,const size_t);
51
52#if defined(__cplusplus) || defined(c_plusplus)
53}
54#endif
55
56#endif
#define WizardExport
WizardExport void UpdateSignature(SignatureInfo *, const unsigned char *, const size_t)
Definition signature.c:348
WizardExport void GetSignatureInfo(SignatureInfo *)
struct _SignatureInfo SignatureInfo
WizardExport void FinalizeSignature(SignatureInfo *)
#define WizardSignatureSize
Definition signature.h:25
unsigned char message[WizardSignatureSize]
Definition signature.h:38
ssize_t offset
Definition signature.h:35
WizardBooleanType lsb_first
Definition signature.h:41
size_t signature
Definition signature.h:44
size_t low_order
Definition signature.h:31
size_t digest[8]
Definition signature.h:30
size_t high_order
Definition signature.h:32
WizardBooleanType
Definition wizard-type.h:26