Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
cryptopp
dsa.h
Go to the documentation of this file.
1
// dsa.h - written and placed in the public domain by Wei Dai
2
5
6
#ifndef CRYPTOPP_DSA_H
7
#define CRYPTOPP_DSA_H
8
9
#include "
cryptlib.h
"
10
#include "
gfpcrypt.h
"
11
12
NAMESPACE_BEGIN
(
CryptoPP
)
13
14
enum
DSASignatureFormat
{
19
DSA_P1363
,
21
DSA_DER
,
23
DSA_OPENPGP
24
};
25
37
size_t
DSAConvertSignatureFormat
(
byte
*buffer,
size_t
bufferSize,
DSASignatureFormat
toFormat,
38
const
byte
*signature,
size_t
signatureLen,
DSASignatureFormat
fromFormat);
39
40
NAMESPACE_END
41
42
#endif
DSAConvertSignatureFormat
size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat, const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat)
Converts between signature encoding formats.
Definition:
dsa.cpp:15
byte
uint8_t byte
Definition:
Common.h:57
NAMESPACE_BEGIN
#define NAMESPACE_BEGIN(x)
Definition:
config.h:200
DSASignatureFormat
DSASignatureFormat
DSA Signature Format.
Definition:
dsa.h:17
cryptlib.h
Abstract base classes that provide a uniform interface to this library.
DSA_P1363
Crypto++ native signature encoding format.
Definition:
dsa.h:19
DSA_DER
signature encoding format used by Java and .Net
Definition:
dsa.h:21
gfpcrypt.h
Classes and functions for schemes based on Discrete Logs (DL) over GF(p)
NAMESPACE_END
#define NAMESPACE_END
Definition:
config.h:201
CryptoPP
DSA_OPENPGP
OpenPGP signature encoding format.
Definition:
dsa.h:23
Generated on Mon Oct 22 2018 15:15:31 for Fabcoin Core by
1.8.11