亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sign.c

?? OpenSSL 0.9.8k 最新版OpenSSL
?? C
字號:
/* demos/sign/sign.c *//* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. *  * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to.  The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code.  The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). *  * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. *  * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *    "This product includes cryptographic software written by *     Eric Young (eay@cryptsoft.com)" *    The word 'cryptographic' can be left out if the rouines from the library *    being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from  *    the apps directory (application code) you must include an acknowledgement: *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" *  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed.  i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] *//* sign-it.cpp  -  Simple test app using SSLeay envelopes to sign data   29.9.1996, Sampo Kellomaki <sampo@iki.fi> *//* converted to C - eay :-) *//* reformated a bit and converted to use the more common functions: this was * initially written at the dawn of time :-) - Steve. */#include <stdio.h>#include <openssl/rsa.h>#include <openssl/evp.h>#include <openssl/objects.h>#include <openssl/x509.h>#include <openssl/err.h>#include <openssl/pem.h>#include <openssl/ssl.h>int main (){  int err;  int sig_len;  unsigned char sig_buf [4096];  static char certfile[] = "cert.pem";  static char keyfile[]  = "key.pem";  static char data[]     = "I owe you...";  EVP_MD_CTX     md_ctx;  EVP_PKEY *      pkey;  FILE *          fp;  X509 *	x509;  /* Just load the crypto library error strings,   * SSL_load_error_strings() loads the crypto AND the SSL ones */  /* SSL_load_error_strings();*/  ERR_load_crypto_strings();    /* Read private key */    fp = fopen (keyfile, "r");  if (fp == NULL) exit (1);  pkey = PEM_read_PrivateKey(fp, NULL, NULL, NULL);  fclose (fp);  if (pkey == NULL) { 	ERR_print_errors_fp (stderr);	exit (1);  }    /* Do the signature */    EVP_SignInit   (&md_ctx, EVP_sha1());  EVP_SignUpdate (&md_ctx, data, strlen(data));  sig_len = sizeof(sig_buf);  err = EVP_SignFinal (&md_ctx, sig_buf, &sig_len, pkey);  if (err != 1) {	ERR_print_errors_fp(stderr);	exit (1);  }  EVP_PKEY_free (pkey);    /* Read public key */    fp = fopen (certfile, "r");  if (fp == NULL) exit (1);  x509 = PEM_read_X509(fp, NULL, NULL, NULL);  fclose (fp);  if (x509 == NULL) {	ERR_print_errors_fp (stderr);	exit (1);  }    /* Get public key - eay */  pkey=X509_get_pubkey(x509);  if (pkey == NULL) {	ERR_print_errors_fp (stderr);	exit (1);  }  /* Verify the signature */    EVP_VerifyInit   (&md_ctx, EVP_sha1());  EVP_VerifyUpdate (&md_ctx, data, strlen((char*)data));  err = EVP_VerifyFinal (&md_ctx, sig_buf, sig_len, pkey);  EVP_PKEY_free (pkey);  if (err != 1) {	ERR_print_errors_fp (stderr);	exit (1);  }  printf ("Signature Verified Ok.\n");  return(0);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲美女视频在线| 日一区二区三区| 另类小说一区二区三区| 色婷婷av一区二区三区大白胸| 久久影院午夜论| 黑人巨大精品欧美一区| 91精品福利在线一区二区三区 | 日韩和欧美的一区| 欧美日韩成人综合天天影院| 一区二区在线免费| 一本色道久久综合精品竹菊| 中文在线一区二区| 91色.com| 亚洲综合自拍偷拍| 日韩免费观看高清完整版在线观看| 偷拍亚洲欧洲综合| 在线观看一区二区视频| 亚洲一二三四久久| 日韩美女一区二区三区四区| 国产一区二区伦理| 亚洲三级免费电影| 91 com成人网| 国产a久久麻豆| 综合激情成人伊人| 欧美精品一区二区久久婷婷| 国产成人精品综合在线观看 | 久久影院电视剧免费观看| 韩国成人在线视频| 亚洲精品乱码久久久久久日本蜜臀 | 久久免费看少妇高潮| 95精品视频在线| 欧美aa在线视频| 亚洲影院久久精品| 国产区在线观看成人精品 | 国产成人日日夜夜| 一区二区三区色| 国产日韩欧美不卡在线| 在线播放国产精品二区一二区四区| 狠狠色狠狠色综合系列| 五月婷婷久久丁香| 亚洲一卡二卡三卡四卡无卡久久 | 图片区日韩欧美亚洲| 亚洲免费在线看| 国产欧美在线观看一区| 7777精品伊人久久久大香线蕉经典版下载 | 一区二区三区四区中文字幕| 久久精品综合网| 久久久久久久久久久99999| 欧美一级电影网站| 日韩美女天天操| 欧美一区二区三区视频在线 | 99视频一区二区三区| 99v久久综合狠狠综合久久| 久久精品国产久精国产爱| 日韩国产欧美一区二区三区| 亚洲综合激情另类小说区| 亚洲激情六月丁香| 亚洲最大成人网4388xx| 亚洲国产三级在线| 免费久久精品视频| 美女被吸乳得到大胸91| 精品伊人久久久久7777人| 国产成人三级在线观看| 91小视频免费看| 欧美日韩国产一级| wwww国产精品欧美| 亚洲精品亚洲人成人网在线播放| 国产精品久久精品日日| 亚洲中国最大av网站| 蜜臀av一区二区三区| 成人丝袜视频网| 在线免费观看视频一区| 在线播放/欧美激情| 国产偷国产偷精品高清尤物| 亚洲日本一区二区三区| 视频一区欧美精品| 一本一本大道香蕉久在线精品| 欧美图片一区二区三区| 久久这里只有精品视频网| 亚洲综合成人在线视频| 国产乱一区二区| 欧美性猛交xxxxxx富婆| 久久综合av免费| 五月天婷婷综合| 99精品久久久久久| 久久久不卡影院| 亚洲国产综合色| 色哟哟一区二区三区| 久久夜色精品国产噜噜av| 日日摸夜夜添夜夜添国产精品| 99视频在线观看一区三区| 久久久久久影视| 久久97超碰色| 欧美一级生活片| 日韩主播视频在线| 在线播放视频一区| 日韩 欧美一区二区三区| 777a∨成人精品桃花网| 三级成人在线视频| 欧美成人r级一区二区三区| 久久电影国产免费久久电影| 精品久久国产老人久久综合| 激情深爱一区二区| 国产三级精品在线| 成人av网站在线| 亚洲日本一区二区三区| 欧美吻胸吃奶大尺度电影| 亚洲国产欧美另类丝袜| 777色狠狠一区二区三区| 捆绑调教一区二区三区| 国产网站一区二区三区| 色综合天天综合狠狠| 亚洲曰韩产成在线| 91精品国产综合久久香蕉的特点 | 在线视频一区二区免费| 亚洲图片欧美综合| 精品久久久久久无| 在线视频亚洲一区| 日本aⅴ亚洲精品中文乱码| 日韩欧美精品在线| 成人三级伦理片| 日本成人在线不卡视频| 欧美极品少妇xxxxⅹ高跟鞋| 日本精品免费观看高清观看| 日韩av一区二区三区四区| 国产精品久久一卡二卡| 欧美r级在线观看| 91电影在线观看| 风间由美一区二区三区在线观看| 亚洲综合色自拍一区| 国产精品免费久久| 日韩欧美色电影| 欧美日韩视频在线第一区| 粉嫩aⅴ一区二区三区四区| 奇米四色…亚洲| 亚洲少妇中出一区| 久久久久成人黄色影片| 欧美刺激午夜性久久久久久久| 色呦呦国产精品| 99久久er热在这里只有精品66| 麻豆精品一区二区三区| 婷婷中文字幕一区三区| 一区二区欧美国产| 一区二区三区中文在线| 中文欧美字幕免费| 久久久国产午夜精品| 亚洲精品一区二区三区影院| 欧美www视频| 久久久亚洲国产美女国产盗摄| 亚洲精品一区二区在线观看| 亚洲精品在线网站| 国产午夜一区二区三区| 久久综合久久99| 国产丝袜欧美中文另类| 久久精品人人做人人爽97| 国产精品污网站| 亚洲桃色在线一区| 一二三区精品视频| 麻豆91免费观看| 成人做爰69片免费看网站| 91蜜桃免费观看视频| 欧洲一区二区三区在线| 制服丝袜中文字幕一区| 久久色成人在线| 亚洲综合成人在线| 精品伊人久久久久7777人| 大胆亚洲人体视频| 欧美二区在线观看| 久久久久久**毛片大全| 亚洲综合久久久| 国产精品一线二线三线| 欧美日韩视频不卡| 国产欧美日韩综合精品一区二区| 亚洲丰满少妇videoshd| 国产九九视频一区二区三区| 99久久久精品| 欧美精品一区二区高清在线观看| 亚洲天堂a在线| 国产suv精品一区二区三区| 91精品黄色片免费大全| 亚洲国产精品一区二区www| 国产成人8x视频一区二区| 欧美一区二区视频在线观看| 亚洲综合免费观看高清完整版在线 | 一区二区三区在线视频播放| 国产精品一区在线| 精品国产免费人成电影在线观看四季| 一区二区三区电影在线播| 91一区一区三区| 国产精品久久久久久久久免费相片 | 99视频一区二区| 亚洲三级在线观看| 91在线无精精品入口| 国产色产综合产在线视频| 国产精品一色哟哟哟| 国产日产欧美一区二区三区| 成人免费视频一区二区| 中文字幕一区二区三区精华液| 激情文学综合丁香| 国产精品高清亚洲|