/*

The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.

The Original Code is a portion of the Path Development API developed
by CygnaCom Solutions, Inc.

Portions created by CygnaCom Solutions, Inc. are Copyright (C) CygnaCom 
Solutions, Inc. All Rights Reserved.

Contributor(s): ______________________________________.

http://www.cygnacom.com

*/
/*------------------------------------------------------------------------*\
|  Project Name  :   Path Development API
|  File Name     :   PathDev.h
|  Creation Date :   May 17, 1999
|  Author        :   Matt Cooper (mcooper@cygnacom.com)
|  Last Mode Date:   May 17, 1999
|  Modification History:
|--------------------------------------------------------------------------
|
|     Known Bugs:   None
|                   
|--------------------------------------------------------------------------
| Cryptographic devices and technical data regarding them are subject to
| Federal Government export controls as specified in Title 22, Code of
| Federal Regulations, Parts 121 through 128.  Cryptographic devices
| implementing the Data Encryption Standard (DES) and technical data
| regarding them must comply with these Federal regulations
|--------------------------------------------------------------------------
| Copyright (c) 1999, CygnaCom Solutions, Inc.
| All Rights Reserved.
\*------------------------------------------------------------------------*/


#if !defined(_PATH_DEV_IMPL_HDR_INCL)
#define _PATH_DEV_IMPL_HDR_INCL

#include "Defines.h"

extern "C" {
long CPLI_AddCertToTail(LPLOCAL_SESSION_INFO pLocalInfo, LPCPL_SESSION_INFO sessionInfo, CertPath_struct *certPath, LPCERTCACHE_ENTRY_STRUCT pCert );
long CPLI_CopyCertToPathStruct( LPCERTCACHE_ENTRY_STRUCT pCert, CertPath_struct *pPathStruct );
long CPLI_IsIssuerCertAlreadyInPath(LPLOCAL_SESSION_INFO pLocalInfo, char *issuerDN );

long CPLI_DevelopPathFromCache(long session, LPLOCAL_SESSION_INFO pLocalInfo, LPCPL_SESSION_INFO sessionInfo, CertPath_struct **certPath );
long CPLI_DevelopPath(long session, LPLOCAL_SESSION_INFO pLocalInfo, LPCPL_SESSION_INFO sessionInfo, CertPath_struct **certPath );
}


#endif

