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

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

?? asn1.h.svn-base

?? 絲路server源碼 Silk Road server source
?? SVN-BASE
?? 第 1 頁 / 共 4 頁
字號:
/* crypto/asn1/asn1.h */
/* 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.]
 */

#ifndef HEADER_ASN1_H
#define HEADER_ASN1_H

#include <time.h>
#include <openssl/e_os2.h>
#ifndef OPENSSL_NO_BIO
#include <openssl/bio.h>
#endif
#include <openssl/stack.h>
#include <openssl/safestack.h>

#include <openssl/symhacks.h>

#include <openssl/ossl_typ.h>
#ifndef OPENSSL_NO_DEPRECATED
#include <openssl/bn.h>
#endif

#ifdef OPENSSL_BUILD_SHLIBCRYPTO
# undef OPENSSL_EXTERN
# define OPENSSL_EXTERN OPENSSL_EXPORT
#endif

#ifdef  __cplusplus
extern "C" {
#endif

#define V_ASN1_UNIVERSAL		0x00
#define	V_ASN1_APPLICATION		0x40
#define V_ASN1_CONTEXT_SPECIFIC		0x80
#define V_ASN1_PRIVATE			0xc0

#define V_ASN1_CONSTRUCTED		0x20
#define V_ASN1_PRIMITIVE_TAG		0x1f
#define V_ASN1_PRIMATIVE_TAG		0x1f

#define V_ASN1_APP_CHOOSE		-2	/* let the recipient choose */
#define V_ASN1_OTHER			-3	/* used in ASN1_TYPE */
#define V_ASN1_ANY			-4	/* used in ASN1 template code */

#define V_ASN1_NEG			0x100	/* negative flag */

#define V_ASN1_UNDEF			-1
#define V_ASN1_EOC			0
#define V_ASN1_BOOLEAN			1	/**/
#define V_ASN1_INTEGER			2
#define V_ASN1_NEG_INTEGER		(2 | V_ASN1_NEG)
#define V_ASN1_BIT_STRING		3
#define V_ASN1_OCTET_STRING		4
#define V_ASN1_NULL			5
#define V_ASN1_OBJECT			6
#define V_ASN1_OBJECT_DESCRIPTOR	7
#define V_ASN1_EXTERNAL			8
#define V_ASN1_REAL			9
#define V_ASN1_ENUMERATED		10
#define V_ASN1_NEG_ENUMERATED		(10 | V_ASN1_NEG)
#define V_ASN1_UTF8STRING		12
#define V_ASN1_SEQUENCE			16
#define V_ASN1_SET			17
#define V_ASN1_NUMERICSTRING		18	/**/
#define V_ASN1_PRINTABLESTRING		19
#define V_ASN1_T61STRING		20
#define V_ASN1_TELETEXSTRING		20	/* alias */
#define V_ASN1_VIDEOTEXSTRING		21	/**/
#define V_ASN1_IA5STRING		22
#define V_ASN1_UTCTIME			23
#define V_ASN1_GENERALIZEDTIME		24	/**/
#define V_ASN1_GRAPHICSTRING		25	/**/
#define V_ASN1_ISO64STRING		26	/**/
#define V_ASN1_VISIBLESTRING		26	/* alias */
#define V_ASN1_GENERALSTRING		27	/**/
#define V_ASN1_UNIVERSALSTRING		28	/**/
#define V_ASN1_BMPSTRING		30

/* For use with d2i_ASN1_type_bytes() */
#define B_ASN1_NUMERICSTRING	0x0001
#define B_ASN1_PRINTABLESTRING	0x0002
#define B_ASN1_T61STRING	0x0004
#define B_ASN1_TELETEXSTRING	0x0004
#define B_ASN1_VIDEOTEXSTRING	0x0008
#define B_ASN1_IA5STRING	0x0010
#define B_ASN1_GRAPHICSTRING	0x0020
#define B_ASN1_ISO64STRING	0x0040
#define B_ASN1_VISIBLESTRING	0x0040
#define B_ASN1_GENERALSTRING	0x0080
#define B_ASN1_UNIVERSALSTRING	0x0100
#define B_ASN1_OCTET_STRING	0x0200
#define B_ASN1_BIT_STRING	0x0400
#define B_ASN1_BMPSTRING	0x0800
#define B_ASN1_UNKNOWN		0x1000
#define B_ASN1_UTF8STRING	0x2000
#define B_ASN1_UTCTIME		0x4000
#define B_ASN1_GENERALIZEDTIME	0x8000
#define B_ASN1_SEQUENCE		0x10000

/* For use with ASN1_mbstring_copy() */
#define MBSTRING_FLAG		0x1000
#define MBSTRING_UTF8		(MBSTRING_FLAG)
#define MBSTRING_ASC		(MBSTRING_FLAG|1)
#define MBSTRING_BMP		(MBSTRING_FLAG|2)
#define MBSTRING_UNIV		(MBSTRING_FLAG|4)

struct X509_algor_st;

#define DECLARE_ASN1_SET_OF(type) /* filled in by mkstack.pl */
#define IMPLEMENT_ASN1_SET_OF(type) /* nothing, no longer needed */

/* We MUST make sure that, except for constness, asn1_ctx_st and
   asn1_const_ctx are exactly the same.  Fortunately, as soon as
   the old ASN1 parsing macros are gone, we can throw this away
   as well... */
typedef struct asn1_ctx_st
	{
	unsigned char *p;/* work char pointer */
	int eos;	/* end of sequence read for indefinite encoding */
	int error;	/* error code to use when returning an error */
	int inf;	/* constructed if 0x20, indefinite is 0x21 */
	int tag;	/* tag from last 'get object' */
	int xclass;	/* class from last 'get object' */
	long slen;	/* length of last 'get object' */
	unsigned char *max; /* largest value of p allowed */
	unsigned char *q;/* temporary variable */
	unsigned char **pp;/* variable */
	int line;	/* used in error processing */
	} ASN1_CTX;

typedef struct asn1_const_ctx_st
	{
	const unsigned char *p;/* work char pointer */
	int eos;	/* end of sequence read for indefinite encoding */
	int error;	/* error code to use when returning an error */
	int inf;	/* constructed if 0x20, indefinite is 0x21 */
	int tag;	/* tag from last 'get object' */
	int xclass;	/* class from last 'get object' */
	long slen;	/* length of last 'get object' */
	const unsigned char *max; /* largest value of p allowed */
	const unsigned char *q;/* temporary variable */
	const unsigned char **pp;/* variable */
	int line;	/* used in error processing */
	} ASN1_const_CTX;

/* These are used internally in the ASN1_OBJECT to keep track of
 * whether the names and data need to be free()ed */
#define ASN1_OBJECT_FLAG_DYNAMIC	 0x01	/* internal use */
#define ASN1_OBJECT_FLAG_CRITICAL	 0x02	/* critical x509v3 object id */
#define ASN1_OBJECT_FLAG_DYNAMIC_STRINGS 0x04	/* internal use */
#define ASN1_OBJECT_FLAG_DYNAMIC_DATA 	 0x08	/* internal use */
typedef struct asn1_object_st
	{
	const char *sn,*ln;
	int nid;
	int length;
	unsigned char *data;
	int flags;	/* Should we free this one */
	} ASN1_OBJECT;

#define ASN1_STRING_FLAG_BITS_LEFT 0x08 /* Set if 0x07 has bits left value */
/* This indicates that the ASN1_STRING is not a real value but just a place
 * holder for the location where indefinite length constructed data should
 * be inserted in the memory buffer 
 */
#define ASN1_STRING_FLAG_NDEF 0x010 
/* This is the base type that holds just about everything :-) */
typedef struct asn1_string_st
	{
	int length;
	int type;
	unsigned char *data;
	/* The value of the following field depends on the type being
	 * held.  It is mostly being used for BIT_STRING so if the
	 * input data has a non-zero 'unused bits' value, it will be
	 * handled correctly */
	long flags;
	} ASN1_STRING;

/* ASN1_ENCODING structure: this is used to save the received
 * encoding of an ASN1 type. This is useful to get round
 * problems with invalid encodings which can break signatures.
 */

typedef struct ASN1_ENCODING_st
	{
	unsigned char *enc;	/* DER encoding */
	long len;		/* Length of encoding */
	int modified;		 /* set to 1 if 'enc' is invalid */
	} ASN1_ENCODING;

/* Used with ASN1 LONG type: if a long is set to this it is omitted */
#define ASN1_LONG_UNDEF	0x7fffffffL

#define STABLE_FLAGS_MALLOC	0x01
#define STABLE_NO_MASK		0x02
#define DIRSTRING_TYPE	\
 (B_ASN1_PRINTABLESTRING|B_ASN1_T61STRING|B_ASN1_BMPSTRING|B_ASN1_UTF8STRING)
#define PKCS9STRING_TYPE (DIRSTRING_TYPE|B_ASN1_IA5STRING)

typedef struct asn1_string_table_st {
	int nid;
	long minsize;
	long maxsize;
	unsigned long mask;
	unsigned long flags;
} ASN1_STRING_TABLE;

DECLARE_STACK_OF(ASN1_STRING_TABLE)

/* size limits: this stuff is taken straight from RFC2459 */

#define ub_name				32768
#define ub_common_name			64
#define ub_locality_name		128
#define ub_state_name			128
#define ub_organization_name		64
#define ub_organization_unit_name	64
#define ub_title			64
#define ub_email_address		128

/* Declarations for template structures: for full definitions
 * see asn1t.h
 */
typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
typedef struct ASN1_ITEM_st ASN1_ITEM;
typedef struct ASN1_TLC_st ASN1_TLC;
/* This is just an opaque pointer */
typedef struct ASN1_VALUE_st ASN1_VALUE;

/* Declare ASN1 functions: the implement macro in in asn1t.h */

#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type)

#define DECLARE_ASN1_ALLOC_FUNCTIONS(type) \
	DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, type)

#define DECLARE_ASN1_FUNCTIONS_name(type, name) \
	DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
	DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name)

#define DECLARE_ASN1_FUNCTIONS_fname(type, itname, name) \
	DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
	DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name)

#define	DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) \
	type *d2i_##name(type **a, const unsigned char **in, long len); \
	int i2d_##name(type *a, unsigned char **out); \
	DECLARE_ASN1_ITEM(itname)

#define	DECLARE_ASN1_ENCODE_FUNCTIONS_const(type, name) \
	type *d2i_##name(type **a, const unsigned char **in, long len); \
	int i2d_##name(const type *a, unsigned char **out); \
	DECLARE_ASN1_ITEM(name)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品国产亚洲高清剧情介绍 | 欧美日韩另类一区| 555www色欧美视频| 成人免费一区二区三区在线观看| 午夜久久久影院| av激情亚洲男人天堂| 日韩欧美综合一区| 亚洲综合图片区| 成人午夜精品在线| 精品国产制服丝袜高跟| 亚洲成人激情av| 色综合久久久久网| 国产精品美女一区二区在线观看| 青椒成人免费视频| 在线观看免费亚洲| 自拍偷拍欧美激情| kk眼镜猥琐国模调教系列一区二区| 日韩精品在线网站| 丝袜a∨在线一区二区三区不卡| 99re热视频这里只精品| 国产女人18毛片水真多成人如厕 | 日本成人中文字幕在线视频| 色婷婷狠狠综合| 中文字幕日韩精品一区| 国产98色在线|日韩| 337p日本欧洲亚洲大胆色噜噜| 天堂蜜桃91精品| 欧美视频一区在线观看| 尤物视频一区二区| av不卡一区二区三区| 中文字幕人成不卡一区| 91在线观看免费视频| 国产精品欧美一区二区三区| 成人免费视频视频| 中文字幕不卡一区| 91在线免费播放| 亚洲欧洲综合另类在线| 91网站黄www| 亚洲激情六月丁香| 欧美三级资源在线| 日韩一区精品字幕| 日韩网站在线看片你懂的| 精品一区二区三区的国产在线播放| 日韩你懂的在线播放| 极品少妇xxxx精品少妇偷拍| 久久精品亚洲一区二区三区浴池 | 日韩高清一区在线| 欧美成人精精品一区二区频| 久久99国产乱子伦精品免费| 久久久国产午夜精品| av资源网一区| 一区二区在线观看不卡| 69堂成人精品免费视频| 国产在线视频一区二区| 国产精品久久夜| 91黄色免费网站| 免费日本视频一区| 国产亚洲欧洲一区高清在线观看| 成人久久久精品乱码一区二区三区| 亚洲丝袜精品丝袜在线| 欧美另类变人与禽xxxxx| 国产综合色精品一区二区三区| 国产精品久久久久天堂| 精品婷婷伊人一区三区三| 久久99久久99| 亚洲色图清纯唯美| 在线综合视频播放| 国产成人免费视频网站| 亚洲国产一二三| 国产日韩欧美不卡| 欧美日韩dvd在线观看| 国内一区二区视频| 一区二区三区在线免费视频 | 国产一区二区三区国产| 日韩一区在线免费观看| 在线播放亚洲一区| 成人高清免费在线播放| 日本欧美加勒比视频| 亚洲欧洲一区二区三区| 日韩一区二区免费高清| 91在线视频播放| 国精产品一区一区三区mba桃花| 亚洲精品成人少妇| 久久久久久久久久久久电影 | 国产精品情趣视频| 欧美一卡在线观看| 色婷婷精品久久二区二区蜜臂av| 国产美女主播视频一区| 日韩国产高清影视| 亚洲综合色成人| 国产精品对白交换视频| 精品国产乱码久久久久久牛牛| 91激情五月电影| 成人午夜av影视| 国产一区二区三区| 麻豆精品久久久| 性做久久久久久免费观看| 国产精品国产三级国产有无不卡| 日韩精品专区在线影院重磅| 欧美色区777第一页| 色婷婷av一区| 99精品热视频| 91小视频免费看| 成人高清免费在线播放| 丰满白嫩尤物一区二区| 国产综合色精品一区二区三区| 免费久久精品视频| 美日韩黄色大片| 免费观看30秒视频久久| 奇米精品一区二区三区在线观看| 一区二区三区免费| 亚洲乱码中文字幕| 一区二区三区四区蜜桃| 亚洲精品福利视频网站| 亚洲三级免费观看| 亚洲色图在线看| 亚洲欧美一区二区三区孕妇| 国产精品全国免费观看高清| 国产精品污污网站在线观看| 国产嫩草影院久久久久| 综合久久综合久久| 亚洲免费观看视频| 夜色激情一区二区| 亚洲国产精品欧美一二99| 亚洲国产欧美日韩另类综合| 亚洲成人在线网站| 日本中文字幕不卡| 毛片一区二区三区| 国内精品国产三级国产a久久| 国产一区免费电影| 粉嫩av亚洲一区二区图片| 成人免费福利片| 色婷婷久久一区二区三区麻豆| 欧美性猛交xxxxxxxx| 欧美一区二区三区在线视频| 精品福利二区三区| 国产精品网友自拍| 亚洲精品成人精品456| 日本强好片久久久久久aaa| 极品销魂美女一区二区三区| 国产福利一区在线| 欧美中文字幕一区| 日韩精品一区二区三区在线播放| 国产欧美一区二区精品久导航 | 欧美色图天堂网| 日韩午夜在线观看视频| 欧美国产日韩a欧美在线观看| 亚洲精品中文在线| 精品一区二区影视| 成人动漫精品一区二区| 91精品麻豆日日躁夜夜躁| 精品少妇一区二区三区免费观看| 国产精品网站在线播放| 午夜不卡av在线| 国产成人亚洲综合a∨猫咪| 在线视频你懂得一区二区三区| 日韩一级高清毛片| 亚洲欧美一区二区三区国产精品| 日韩av一区二区在线影视| 成人av网在线| 日韩欧美成人一区| 一级日本不卡的影视| 国产成人av影院| 欧美高清性hdvideosex| 成人欧美一区二区三区白人| 麻豆久久久久久| 欧美午夜视频网站| 国产欧美在线观看一区| 日韩电影在线观看网站| 色婷婷一区二区三区四区| 久久久亚洲高清| 蜜臀av亚洲一区中文字幕| 色爱区综合激月婷婷| 亚洲国产成人午夜在线一区| 日本伊人精品一区二区三区观看方式| 99精品在线观看视频| 国产亚洲欧洲一区高清在线观看| 日韩av高清在线观看| 欧美日韩视频在线观看一区二区三区 | 91麻豆精品久久久久蜜臀| 国产精品久久看| 国产在线国偷精品免费看| 欧美疯狂做受xxxx富婆| 亚洲激情五月婷婷| 91无套直看片红桃| 国产精品国产三级国产三级人妇| 国产呦萝稀缺另类资源| 日韩一级成人av| 三级久久三级久久久| 欧美日韩在线播放三区四区| 一二三四社区欧美黄| 在线亚洲一区二区| 亚洲色图清纯唯美| 成人av在线影院| 国产精品久久久爽爽爽麻豆色哟哟 | 激情偷乱视频一区二区三区| 777午夜精品视频在线播放| 午夜精品久久久| 91精品福利在线一区二区三区| 亚洲va欧美va人人爽午夜 |