00001 /******************************************************************** 00002 00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved. 00004 00005 The contents of this file are subject to the Mozilla Public License Version 00006 1.1 (the "License"); you may not use this file except in compliance with 00007 the License. You may obtain a copy of the License at 00008 http://www.mozilla.org/MPL/ 00009 00010 Software distributed under the License is distributed on an "AS IS" basis, 00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 00012 for the specific language governing rights and limitations under the 00013 License. 00014 00015 The Original Code is the entire contents of this file. 00016 00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc. 00018 00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All 00020 Rights Reserved. 00021 00022 Contributor(s): none. 00023 00024 ********************************************************************/ 00025 /* SecurityManifest.h 00026 **** 00027 ** Security Object Interface 00028 ** 00029 ** This file defines the interface for the SecurityObject. 00030 ** 00031 */ 00032 00033 /* Macro Definitions */ 00034 #ifndef _H_ALP_PRV_SECURITY_XML_ 00035 #define _H_ALP_PRV_SECURITY_XML_ 00036 00037 /* File Includes */ 00038 #include "SecurityObject.h" 00039 00040 /* Typedefs, Structs, Unions, Enums, etc. */ 00041 typedef struct { 00042 char *_issuer; 00043 char *_serial; 00044 char *_encoding; 00045 } AlpPrvSpfCertificateReference; 00046 00047 typedef struct { 00048 AlpPrvSpfCertificateReference _certref; 00049 char *_name; 00050 char *_smimeMsg; 00051 } AlpPrvSpfXmlParse; 00052 00053 /* Function Prototypes */ 00054 00055 AlpPrvSpfSoErr alp_prv_spf_xml_parse (SecurityObject *object, 00056 const char *xmlData, 00057 AlpPrvSpfXmlParse *xmlParse, 00058 unsigned int len); 00059 00060 void alp_prv_spf_cleanup_xml_parse (AlpPrvSpfXmlParse *xmlParse); 00061 00062 #endif 00063