亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品的网站| 亚洲国产高清在线观看视频| 成人avav在线| 成人h动漫精品| 99久久免费精品| 91丨九色丨蝌蚪富婆spa| 91在线一区二区| 粉嫩一区二区三区性色av| 韩国成人福利片在线播放| 久久97超碰国产精品超碰| 国产精品亚洲а∨天堂免在线| 激情五月播播久久久精品| 国产一区二区三区免费| 成人午夜免费电影| 99re这里只有精品视频首页| 色婷婷av一区| 日韩一区二区三区精品视频| 2019国产精品| 国产精品不卡一区| 婷婷成人激情在线网| 国产一区三区三区| 色综合久久综合| 91精品免费观看| 国产日韩欧美a| 亚洲一区二区三区四区五区中文 | 国产欧美日韩不卡免费| 国产日韩欧美电影| 一级女性全黄久久生活片免费| 日韩一区精品字幕| 成人动漫中文字幕| 7777精品久久久大香线蕉| 国产亚洲欧美日韩在线一区| 综合中文字幕亚洲| 老司机精品视频导航| 91视频在线观看免费| 91精品国产91久久久久久一区二区| 26uuu久久综合| 亚洲成人综合视频| 懂色中文一区二区在线播放| 欧美日韩一区二区在线观看视频| 日韩视频免费观看高清完整版 | 日本麻豆一区二区三区视频| 国产成人综合亚洲91猫咪| 欧美亚洲国产一区二区三区va | 亚洲成人第一页| 国产91综合一区在线观看| 欧美日韩一区在线| 国产日韩欧美一区二区三区乱码 | 成人黄色777网| 91精品婷婷国产综合久久竹菊| 国产视频一区不卡| 奇米综合一区二区三区精品视频| 成人av在线看| 精品国产一区二区三区久久影院| 一区二区三区日韩欧美精品| 国产美女娇喘av呻吟久久| 6080亚洲精品一区二区| 一区二区三区精品久久久| 国产精品资源网站| 日韩精品一区二区三区视频播放 | www国产亚洲精品久久麻豆| 性做久久久久久免费观看| www.av精品| 久久久久久久一区| 久久99久久精品| 精品日韩一区二区| 日本va欧美va精品| 777亚洲妇女| 性做久久久久久免费观看欧美| 色诱视频网站一区| 亚洲精品视频在线观看网站| 国产成人av一区二区三区在线| 精品播放一区二区| 国产麻豆精品在线| 久久亚洲精精品中文字幕早川悠里| 麻豆精品新av中文字幕| 日韩欧美三级在线| 蜜臀精品久久久久久蜜臀| 欧美一区二区三区免费在线看| 亚洲一区二区欧美日韩| 国产99久久久国产精品潘金| 国产天堂亚洲国产碰碰| 国产成人精品1024| 国产精品免费视频网站| 成人h动漫精品一区二区| 国产精品不卡一区二区三区| 成人高清视频在线| 亚洲精品乱码久久久久久久久| 91黄色激情网站| 视频精品一区二区| 久久嫩草精品久久久精品| 国产成人激情av| 中文字幕在线不卡| 欧美色涩在线第一页| 老司机精品视频一区二区三区| 精品99一区二区| 成人高清免费在线播放| 一区二区三区四区高清精品免费观看| 欧美视频一区二区三区四区| 美女视频黄 久久| 国产亚洲精品资源在线26u| 高清av一区二区| 亚洲欧美视频在线观看| 欧美日韩一区二区三区视频 | 综合久久一区二区三区| 一本高清dvd不卡在线观看| 亚洲在线成人精品| 欧美精品一区二区三区四区 | 日韩精品一区国产麻豆| 丁香婷婷综合五月| 亚洲va韩国va欧美va| 久久在线观看免费| 色欧美乱欧美15图片| 精品一区二区三区在线播放 | 亚洲天堂福利av| 日韩一区二区在线看| 波多野结衣的一区二区三区| 亚洲一区二区三区视频在线| 久久久国际精品| 777xxx欧美| 色综合激情久久| 懂色av一区二区三区蜜臀| 日韩国产欧美视频| 亚洲三级视频在线观看| 久久久久久久久伊人| 欧美性xxxxxxxx| 北条麻妃国产九九精品视频| 日韩电影免费一区| 亚洲午夜一区二区三区| 亚洲色图在线看| 国产调教视频一区| 精品国产麻豆免费人成网站| 欧美午夜电影在线播放| 成人免费视频app| 久久黄色级2电影| 午夜不卡在线视频| 一区二区三区在线观看国产| 国产精品不卡视频| 中文一区二区在线观看| 久久一夜天堂av一区二区三区| 欧美日韩大陆一区二区| 欧美体内she精视频| 91小视频免费观看| av一二三不卡影片| 岛国精品在线观看| 成年人国产精品| 高潮精品一区videoshd| 国产999精品久久久久久绿帽| 国产一区二区三区香蕉| 国内精品免费**视频| 久99久精品视频免费观看| 蜜桃视频免费观看一区| 日本中文一区二区三区| 奇米影视一区二区三区| 日韩av网站在线观看| 日本不卡一区二区三区 | 国模娜娜一区二区三区| 黑人巨大精品欧美一区| 精品一区二区三区免费毛片爱| 日本sm残虐另类| 国内精品写真在线观看| 粉嫩av一区二区三区在线播放| 国产成人精品影视| 97久久久精品综合88久久| av激情成人网| 在线观看一区二区视频| 欧美日本一区二区三区| 日韩欧美电影一区| 久久久精品综合| 亚洲毛片av在线| 奇米色一区二区| 国产凹凸在线观看一区二区| 99久久精品情趣| 欧美精品xxxxbbbb| 欧美成人官网二区| 国产精品久久久一区麻豆最新章节| 国产精品久久久久久久久免费桃花 | 亚洲欧美日韩一区二区| 亚洲大片精品永久免费| 美女免费视频一区| 99视频国产精品| 欧美日韩一区不卡| 久久久久久久精| 一区二区在线观看免费| 婷婷综合久久一区二区三区| 另类综合日韩欧美亚洲| 国产成人av影院| 欧美日韩精品一区二区| 久久综合九色综合欧美98| 亚洲欧美一区二区三区国产精品| 亚洲香肠在线观看| 成人自拍视频在线| 欧美日韩一区二区在线观看| 久久精品亚洲一区二区三区浴池| 亚洲美腿欧美偷拍| 国产精品一品二品| 欧美日本国产视频| 日韩美女啊v在线免费观看| 全部av―极品视觉盛宴亚洲| 99精品在线观看视频|