Security Scol plugin
dsa.h
Go to the documentation of this file.
1// dsa.h - originally 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
12NAMESPACE_BEGIN(CryptoPP)
13
14
28
48size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat,
49 const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat);
50
51NAMESPACE_END
52
53#endif // CRYPTOPP_DSA_H
Abstract base classes that provide a uniform interface to this library.
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
DSASignatureFormat
DSA Signature Format.
Definition dsa.h:20
@ DSA_OPENPGP
OpenPGP signature encoding format.
Definition dsa.h:26
@ DSA_P1363
Crypto++ native signature encoding format.
Definition dsa.h:22
@ DSA_DER
signature encoding format used by OpenSSL, Java and .Net
Definition dsa.h:24
Classes and functions for schemes based on Discrete Logs (DL) over GF(p)