Mac OS 9
CryptoMessageSyntax.h
Go to the documentation of this file.
1 
19 #ifndef __CRYPTOMESSAGESYNTAX__
20 #define __CRYPTOMESSAGESYNTAX__
21 
22 #ifndef __MACTYPES__
23 #include <MacTypes.h>
24 #endif
25 
26 #ifndef __FILES__
27 #include <Files.h>
28 #endif
29 
30 #ifndef __CODEFRAGMENTS__
31 #include <CodeFragments.h>
32 #endif
33 
34 #ifndef __MACERRORS__
35 #include <MacErrors.h>
36 #endif
37 
38 #ifndef __EVENTS__
39 #include <Events.h>
40 #endif
41 
42 #if PRAGMA_ONCE
43 #pragma once
44 #endif
45 
46 #ifdef __cplusplus
47 extern "C"
48 {
49 #endif
50 
51 #if PRAGMA_IMPORT
52 #pragma import on
53 #endif
54 
55 #if PRAGMA_STRUCT_ALIGN
56 #pragma options align = mac68k
57 #elif PRAGMA_STRUCT_PACKPUSH
58 #pragma pack(push, 2)
59 #elif PRAGMA_STRUCT_PACK
60 #pragma pack(2)
61 #endif
62 
66  typedef struct OpaqueSecTypeRef *SecTypeRef;
67  typedef struct OpaqueSecSignerRef *SecSignerRef;
69 #if CALL_NOT_IN_CARBON
78  OSStatus
79  SecSignerGetStatus(SecSignerRef signer);
80 
91 
100  void
102 
111  UInt32
113 
115 #endif
117  enum
118  {
119  errSecUnsupported = -13843,
120  errSecInvalidData = -13844,
121  errSecTooMuchData = -13845,
122  errSecMissingData = -13846,
123  errSecNoSigners = -13847,
124  errSecSignerFailed = -13848,
125  errSecInvalidPolicy = -13849,
126  errSecUnknownPolicy = -13850,
127  errSecInvalidStopOn = -13851,
128  errSecMissingCert = -13852,
129  errSecInvalidCert = -13853,
130  errSecNotSigner = -13854,
131  errSecNotTrusted = -13855,
132  errSecMissingAttribute = -13856,
133  errSecMissingDigest = -13857,
134  errSecDigestMismatch = -13858,
135  errSecInvalidSignature = -13859,
136  errSecAlgMismatch = -13860,
137  errSecUnsupportedAlgorithm = -13864,
138  errSecContentTypeMismatch = -13865,
139  errSecDebugRoot = -13866
140  };
141 
142 #if PRAGMA_STRUCT_ALIGN
143 #pragma options align = reset
144 #elif PRAGMA_STRUCT_PACKPUSH
145 #pragma pack(pop)
146 #elif PRAGMA_STRUCT_PACK
147 #pragma pack()
148 #endif
149 
150 #ifdef PRAGMA_IMPORT_OFF
151 #pragma import off
152 #elif PRAGMA_IMPORT
153 #pragma import reset
154 #endif
155 
156 #ifdef __cplusplus
157 }
158 #endif
159 
160 #endif
Public Code Fragment Manager Interfaces.
void SecRelease(SecTypeRef sec)
SecTypeRef SecRetain(SecTypeRef sec)
struct OpaqueSecTypeRef * SecTypeRef
Definition: CryptoMessageSyntax.h:66
OSStatus SecSignerGetStatus(SecSignerRef signer)
UInt32 SecRetainCount(SecTypeRef sec)
Event Manager Interfaces.
File Manager (MFS, HFS, and HFS+) Interfaces.
OSErr codes.
Basic Macintosh data types.