3 * Copyright (c) 2001-2004 Apple Computer, Inc. All rights reserved.
5 * @APPLE_LICENSE_HEADER_START@
7 * The contents of this file constitute Original Code as defined in and
8 * are subject to the Apple Public Source License Version 1.1 (the
9 * "License"). You may not use this file except in compliance with the
10 * License. Please obtain a copy of the License at
11 * http://www.apple.com/publicsource and read it before using this file.
13 * This Original Code and all software distributed under the License are
14 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
18 * License for the specific language governing rights and limitations
21 * @APPLE_LICENSE_HEADER_END@
24 #ifndef __CRYPTO_CSSM_H__
25 #define __CRYPTO_CSSM_H__
28 * Racoon module for verifying and signing certificates through Security
35 extern int crypto_cssm_check_x509cert(vchar_t
*cert
);
36 extern vchar_t
* crypto_cssm_getsign(CFDataRef persistentCertRef
, vchar_t
* hash
);
37 extern vchar_t
* crypto_cssm_get_x509cert(CFDataRef persistentCertRef
);
40 #endif /* __CRYPTO_CSSM_H__ */