?? dsaparamsder.h
字號:
/* Copyright 2005-2006, Voltage Security, all rights reserved.
*/
#include "vibe.h"
#include "environment.h"
#include "base.h"
#include "libctx.h"
#include "derhelp.h"
#include "oidlist.h"
#include "algid.h"
#ifndef _DSA_PARAMS_DER_H
#define _DSA_PARAMS_DER_H
#ifdef __cplusplus
extern "C" {
#endif
/* A DSA Parameter set is defined as follows (many standards)
* Dss-Parms ::= SEQUENCE {
* prime INTEGER,
* subprime INTEGER,
* base INTEGER }
*/
typedef struct
{
ASN1_INTEGER *prime;
ASN1_INTEGER *subprime;
ASN1_INTEGER *base;
} Asn1DsaParams;
DECLARE_ASN1_FUNCTIONS (Asn1DsaParams)
/* Some apps may encode a DSA pub key as follows.
* SEQUENCE {
* y INTEGER,
* prime INTEGER,
* subprime INTEGER,
* base INTEGER }
*/
typedef struct
{
ASN1_INTEGER *pubVal;
ASN1_INTEGER *prime;
ASN1_INTEGER *subprime;
ASN1_INTEGER *base;
} Asn1DsaPubAndParams;
DECLARE_ASN1_FUNCTIONS (Asn1DsaPubAndParams)
#ifdef __cplusplus
}
#endif
#endif /* _DSA_PARAMS_DER_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -