亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲狠狠丁香婷婷综合久久久| 奇米影视7777精品一区二区| 亚洲h动漫在线| 久久99精品久久久久久| 91福利资源站| 日本一区二区三区免费乱视频| 亚洲国产日日夜夜| 国产a级毛片一区| 日韩一区二区精品在线观看| 亚洲免费av网站| 国产91精品露脸国语对白| 欧美精品在线观看播放| 国产精品久久久久一区二区三区| 男人的天堂亚洲一区| 91福利精品第一导航| 中文字幕乱码日本亚洲一区二区| 免费观看在线综合| 欧美肥大bbwbbw高潮| 亚洲精品免费播放| 成人av高清在线| 久久久精品免费观看| 秋霞午夜鲁丝一区二区老狼| 欧美日韩精品免费| 亚洲精品国产视频| 色呦呦国产精品| 东方aⅴ免费观看久久av| 国产精品久久久久久久久免费丝袜 | 国产99精品视频| 国产精品久久久久天堂| aaa亚洲精品一二三区| 日韩va欧美va亚洲va久久| 五月婷婷激情综合网| 欧美精品视频www在线观看| 日韩欧美在线不卡| 肉色丝袜一区二区| 欧美剧情片在线观看| 午夜精品爽啪视频| 欧美一区永久视频免费观看| 亚洲第一搞黄网站| 91精品蜜臀在线一区尤物| 天天综合色天天综合色h| 欧美日韩精品一区二区在线播放| 亚洲国产一二三| 欧美精品免费视频| 麻豆精品一区二区三区| 精品国产一区二区三区久久久蜜月| 美女任你摸久久| 久久久久久久久99精品| jvid福利写真一区二区三区| 中文字幕一区二区三区av| 色婷婷久久久综合中文字幕 | 在线看不卡av| 亚洲图片欧美视频| 91精品国产欧美一区二区18| 奇米精品一区二区三区在线观看| 精品少妇一区二区三区在线视频| 国产精品主播直播| 伊人一区二区三区| 在线电影国产精品| 国产一区二区三区四区五区美女| 国产精品拍天天在线| 欧美日韩一区不卡| 国产在线一区观看| 亚洲女人的天堂| 日韩午夜三级在线| 成人av免费在线| 丝袜美腿亚洲一区| 国产精品女主播在线观看| 91福利视频久久久久| 精品亚洲欧美一区| 亚洲一区二区三区四区中文字幕| 日韩欧美一区二区免费| 成人高清伦理免费影院在线观看| 亚洲成a人v欧美综合天堂下载| 精品久久久久av影院 | 亚洲美女区一区| 精品国产一区二区三区四区四| 91视频91自| 狠狠网亚洲精品| 婷婷国产v国产偷v亚洲高清| 欧美国产精品劲爆| 精品国产乱码久久久久久免费| 色婷婷av久久久久久久| 国产成人精品三级| 日韩不卡免费视频| 夜夜嗨av一区二区三区四季av | 首页国产欧美久久| 91精品国产福利| 首页综合国产亚洲丝袜| 欧美四级电影网| 一区二区三区不卡视频| www.亚洲在线| 亚洲精品你懂的| youjizz国产精品| 国产亚洲欧美激情| 欧美性色aⅴ视频一区日韩精品| 日av在线不卡| 国产精品久久久久久久久免费桃花 | 国产午夜一区二区三区| 制服丝袜激情欧洲亚洲| 色综合久久久久久久久久久| 成人免费不卡视频| 国内精品第一页| 久久国产综合精品| 老司机精品视频在线| 性久久久久久久久久久久| 亚洲丝袜另类动漫二区| 久久久国产午夜精品| 日韩欧美色综合| 欧美在线视频日韩| 91国产免费观看| 色综合久久综合网97色综合| 国产高清久久久| 一区二区欧美国产| 亚洲成人tv网| 亚洲精品中文字幕在线观看| 中日韩av电影| 国产亚洲污的网站| 51精品视频一区二区三区| 欧美精品国产精品| 欧美在线一区二区| 欧美无砖专区一中文字| 91福利在线导航| 成人黄色在线视频| 91首页免费视频| 99久久99久久免费精品蜜臀| 国产精品一区二区在线观看网站| 精品一二三四区| 日韩国产在线观看| 韩国成人福利片在线播放| 美女mm1313爽爽久久久蜜臀| 免费国产亚洲视频| 黑人巨大精品欧美一区| 久久精品国产77777蜜臀| 老鸭窝一区二区久久精品| 久久电影网站中文字幕 | 97久久超碰精品国产| av在线免费不卡| 91麻豆产精品久久久久久 | 蜜臀av性久久久久蜜臀aⅴ四虎| 激情文学综合丁香| 国产精品亚洲成人| 国产精品一区二区在线播放| 亚洲国产综合色| 91美女片黄在线| www.激情成人| 国产精品88888| 成人毛片老司机大片| 秋霞成人午夜伦在线观看| 视频一区二区中文字幕| 亚洲精品成人少妇| 亚洲女同一区二区| 国产午夜亚洲精品羞羞网站| 国产日韩欧美精品在线| 一区二区三区影院| 欧美一区二区三区视频| 欧美不卡一区二区| 久久精品视频网| 国产蜜臀97一区二区三区| 亚洲在线视频网站| 久久精品理论片| 不卡免费追剧大全电视剧网站| 99久久er热在这里只有精品66| 日韩精品中文字幕在线不卡尤物 | 亚洲欧美日韩中文字幕一区二区三区 | 在线成人av影院| 2020国产精品| 一区二区三区在线视频免费观看| 国产欧美一区二区三区鸳鸯浴 | 欧美激情在线免费观看| 一区二区三区**美女毛片| 蜜臀久久99精品久久久久久9| 成人午夜短视频| 精品国精品自拍自在线| 亚洲人成伊人成综合网小说| 久久精品国产精品亚洲综合| 91尤物视频在线观看| 精品美女在线播放| 美国三级日本三级久久99| 99久久99久久精品免费观看| 日韩欧美一区二区视频| 亚洲免费av网站| 国产曰批免费观看久久久| 69久久99精品久久久久婷婷| 国产精品美女久久久久av爽李琼| 日韩和欧美一区二区| 99国产精品久| 欧美放荡的少妇| 日韩国产在线观看| 91久久人澡人人添人人爽欧美 | 免费观看30秒视频久久| 91久久一区二区| 中文字幕在线免费不卡| 国产一区欧美日韩| 日韩亚洲欧美高清| 日本亚洲最大的色成网站www| 欧美中文字幕久久| 亚洲少妇最新在线视频| 久久国产婷婷国产香蕉| 在线一区二区观看|