Eneboo - Documentación para desarrolladores
|
00001 /* ==================================================================== 00002 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 00003 * 00004 * Redistribution and use in source and binary forms, with or without 00005 * modification, are permitted provided that the following conditions 00006 * are met: 00007 * 00008 * 1. Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * 00011 * 2. Redistributions in binary form must reproduce the above copyright 00012 * notice, this list of conditions and the following disclaimer in 00013 * the documentation and/or other materials provided with the 00014 * distribution. 00015 * 00016 * 3. All advertising materials mentioning features or use of this 00017 * software must display the following acknowledgment: 00018 * "This product includes software developed by the OpenSSL Project 00019 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 00020 * 00021 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 00022 * endorse or promote products derived from this software without 00023 * prior written permission. For written permission, please contact 00024 * openssl-core@openssl.org. 00025 * 00026 * 5. Products derived from this software may not be called "OpenSSL" 00027 * nor may "OpenSSL" appear in their names without prior written 00028 * permission of the OpenSSL Project. 00029 * 00030 * 6. Redistributions of any form whatsoever must retain the following 00031 * acknowledgment: 00032 * "This product includes software developed by the OpenSSL Project 00033 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 00034 * 00035 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 00036 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00037 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00038 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 00039 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00040 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 00041 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00042 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00043 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 00044 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00045 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 00046 * OF THE POSSIBILITY OF SUCH DAMAGE. 00047 * ==================================================================== 00048 * 00049 * This product includes cryptographic software written by Eric Young 00050 * (eay@cryptsoft.com). This product includes software written by Tim 00051 * Hudson (tjh@cryptsoft.com). 00052 * 00053 */ 00054 00055 int add_signed_time(PKCS7_SIGNER_INFO *si); 00056 ASN1_UTCTIME *get_signed_time(PKCS7_SIGNER_INFO *si); 00057 int get_signed_seq2string(PKCS7_SIGNER_INFO *si, char **str1, char **str2);