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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? asn1.h

?? 絲路server源碼 Silk Road server source
?? H
?? 第 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)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕中文在线不卡住| 国产精品性做久久久久久| 蜜臂av日日欢夜夜爽一区| 成人免费高清在线| 7777精品伊人久久久大香线蕉的| 欧美国产一区二区| 日韩国产欧美在线播放| 99在线热播精品免费| 精品成人免费观看| 丝袜美腿成人在线| 色婷婷综合久久久中文一区二区 | 蜜臀久久久久久久| 91小视频在线| 中文字幕中文字幕在线一区| 国产一区二区视频在线| 日韩免费成人网| 亚洲v日本v欧美v久久精品| 91蝌蚪porny| 国产精品三级av| 成人av在线电影| 国产亚洲精品资源在线26u| 久久99精品国产| 91精品国产麻豆国产自产在线| 亚洲精品免费电影| 一本大道av一区二区在线播放| 综合分类小说区另类春色亚洲小说欧美 | 日韩欧美一级精品久久| 日韩精品五月天| 欧美卡1卡2卡| 欧美aaa在线| 日韩欧美国产一区二区三区| 日韩成人dvd| 日韩欧美色电影| 国模无码大尺度一区二区三区| 欧美一级国产精品| 久久91精品国产91久久小草| 精品国产成人系列| 国产美女一区二区| 国产精品伦理在线| 91在线国内视频| 午夜精品久久久| 51精品秘密在线观看| 日产精品久久久久久久性色| 欧美不卡在线视频| 粉嫩蜜臀av国产精品网站| 中文字幕一区在线观看| 在线影院国内精品| 天涯成人国产亚洲精品一区av| 91精品国产一区二区三区蜜臀| 久久精品99国产国产精| 欧美国产视频在线| 91国产免费看| 裸体一区二区三区| 国产清纯白嫩初高生在线观看91| 成人免费黄色大片| 亚洲二区视频在线| 欧美成人在线直播| 成人性生交大片| 亚洲一区二区三区视频在线播放 | 精品一区二区三区影院在线午夜| 欧美tk—视频vk| 91在线观看视频| 日本不卡一区二区三区 | 成人精品小蝌蚪| 夜夜嗨av一区二区三区 | 欧美日韩国产色站一区二区三区| 免费在线观看一区| 中文无字幕一区二区三区| 欧美中文字幕不卡| 国产成人综合网站| 亚洲一区二区三区四区五区黄| 久久女同互慰一区二区三区| 91福利视频在线| 九色综合国产一区二区三区| 亚洲欧洲精品一区二区三区不卡| 欧美高清视频不卡网| 成人美女在线视频| 青青草精品视频| 亚洲天堂2016| 国产视频一区不卡| 91精品国产综合久久精品性色| jizzjizzjizz欧美| 国产一区二区久久| 狂野欧美性猛交blacked| 亚洲夂夂婷婷色拍ww47| 国产精品美女久久福利网站| 日韩午夜小视频| 欧美色视频一区| 91一区在线观看| 成人午夜在线免费| 黄页视频在线91| 免费观看成人av| 一区二区三区蜜桃| 国产精品福利av| 欧美国产一区视频在线观看| 精品国产乱码久久久久久老虎| 欧美日韩在线观看一区二区| 91在线观看下载| 成人18精品视频| 成人一区在线观看| 国产精品一级片| 国产在线视频精品一区| 奇米在线7777在线精品| 午夜精品久久久久久久 | 欧美高清精品3d| 欧洲一区在线观看| 99r精品视频| 91在线小视频| 色综合天天综合色综合av| 成人午夜电影小说| 国产 日韩 欧美大片| 国产成人免费xxxxxxxx| 国产精品一级在线| 国产suv精品一区二区6| 国产成人8x视频一区二区| 国产精品夜夜嗨| 成人免费视频视频| 99久久免费精品| 91免费看`日韩一区二区| 91在线视频18| 欧美中文字幕亚洲一区二区va在线 | 欧美一级xxx| 日韩免费视频一区| 久久无码av三级| 久久久不卡网国产精品二区| 中文字幕欧美三区| 亚洲欧美日韩国产成人精品影院| 亚洲美女免费在线| 亚洲v中文字幕| 韩国一区二区在线观看| 国产99久久久久| 色狠狠桃花综合| 欧美一级一级性生活免费录像| 日韩欧美一二区| 国产精品色眯眯| 亚洲福中文字幕伊人影院| 久久精品国产一区二区三| 国产精品一区二区男女羞羞无遮挡| 国产高清无密码一区二区三区| 99久久婷婷国产综合精品| 欧美日韩一区国产| 久久婷婷成人综合色| 最新中文字幕一区二区三区 | 日韩午夜中文字幕| 国产网红主播福利一区二区| 亚洲日本一区二区| 久久疯狂做爰流白浆xx| 成人黄色av电影| 91麻豆精品国产91久久久久久| 久久精品免费在线观看| 亚洲精品乱码久久久久久| 久久99精品一区二区三区三区| www.综合网.com| 日韩欧美自拍偷拍| 亚洲视频在线观看一区| 久久国产精品第一页| 91久久香蕉国产日韩欧美9色| 日韩欧美专区在线| 一区二区三区欧美亚洲| 久久99最新地址| 在线观看国产精品网站| 国产女主播视频一区二区| 日韩精品免费视频人成| av综合在线播放| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲欧美日韩中文字幕一区二区三区 | 久久亚洲一级片| 亚洲高清免费视频| 粉嫩蜜臀av国产精品网站| 日韩欧美国产系列| 亚洲高清视频的网址| 成人av网在线| 精品国产99国产精品| 无吗不卡中文字幕| 在线观看免费成人| 国产精品国产精品国产专区不蜜| 久久精品国产成人一区二区三区 | 91在线国产福利| 久久精品水蜜桃av综合天堂| 日本视频一区二区三区| 9i看片成人免费高清| 精品国产一区二区三区久久影院| 亚洲图片有声小说| 91女神在线视频| 亚洲视频免费看| 粉嫩嫩av羞羞动漫久久久| www亚洲一区| 国产美女视频一区| 久久久亚洲欧洲日产国码αv| 免费日韩伦理电影| 欧美一区二区三区色| 五月天激情综合| 91精品久久久久久蜜臀| 午夜精品福利一区二区蜜股av| av一区二区不卡| 中文字幕亚洲在| eeuss鲁一区二区三区| 国产精品久久久久久亚洲伦 | 欧美精品亚洲二区| 亚洲动漫第一页|