2N/A * ==================================================================== 2N/A * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 2N/A * Redistribution and use in source and binary forms, with or without 2N/A * modification, are permitted provided that the following conditions 2N/A * 1. Redistributions of source code must retain the above copyright 2N/A * notice, this list of conditions and the following disclaimer. 2N/A * 2. Redistributions in binary form must reproduce the above copyright 2N/A * notice, this list of conditions and the following disclaimer in 2N/A * the documentation and/or other materials provided with the 2N/A * 3. All advertising materials mentioning features or use of this 2N/A * software must display the following acknowledgment: 2N/A * "This product includes software developed by the OpenSSL Project 2N/A * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 2N/A * endorse or promote products derived from this software without 2N/A * prior written permission. For written permission, please contact 2N/A * licensing@OpenSSL.org. 2N/A * 5. Products derived from this software may not be called "OpenSSL" 2N/A * nor may "OpenSSL" appear in their names without prior written 2N/A * permission of the OpenSSL Project. 2N/A * 6. Redistributions of any form whatsoever must retain the following 2N/A * "This product includes software developed by the OpenSSL Project 2N/A * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 2N/A * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2N/A * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 2N/A * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2N/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2N/A * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 2N/A * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2N/A * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 2N/A * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2N/A * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 2N/A * OF THE POSSIBILITY OF SUCH DAMAGE. 2N/A * ==================================================================== 2N/A * This product includes cryptographic software written by Eric Young 2N/A * (eay@cryptsoft.com). This product includes software written by Tim 2N/A * Hudson (tjh@cryptsoft.com). 2N/A * Copyright 2003 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * PKCS12 file routines borrowed from SNT's libwanboot. 2N/A/* These declarations allow us to make stacks of EVP_PKEY objects */ 2N/A/* Error reporting routines required by OpenSSL */ 2N/A/* Error codes for the SUNW functions. */ 2N/A/* OpenSSL prefers codes to start at 100 */ 2N/A/* Function codes. */ 2N/A * Type of checking to perform when calling sunw_check_cert_times 2N/A * Return type for sunw_check_cert_times 2N/A * This type indicates what to do with an attribute being returned. 2N/A * For sunw_pkcs12_parse, the following are values for bits that indicate 2N/A * OR'd together. However, the order in which an attempt will be made 2N/A * to satisfy them is the order in which they are listed below. The 2N/A * exception is DO_NONE. It should not be OR'd with any other value. 2N/A#
define DO_FIND_FN 0x02 /* 1st cert, key with matching friendlyname */ 2N/A/* Bits returned, which indicate what values were found. */ 2N/A#
define FOUND_CERT 0x02 /* Found one or more client certificate */ 2N/A#
define FOUND_XPKEY 0x08 /* Found at least one private key which does */ 2N/A /* not match a certificate in the certs list */ 2N/A#
endif /* _P12LIB_H */