5 #ifndef CRYPTOPP_IMPORTS
10 NAMESPACE_BEGIN(CryptoPP)
21 r.Decode(store, signatureLen/2);
22 s.Decode(store, signatureLen/2);
33 r.OpenPGPDecode(store);
34 s.OpenPGPDecode(store);
41 r.
Encode(sink, bufferSize/2);
42 s.
Encode(sink, bufferSize/2);
58 return (
size_t)sink.TotalPutLength();
size_t DSAConvertSignatureFormat(byte *buffer, size_t bufferSize, DSASignatureFormat toFormat, const byte *signature, size_t signatureLen, DSASignatureFormat fromFormat)
This function converts between these formats, and returns length of signature in the target format...
size_t OpenPGPEncode(byte *output, size_t bufferSize) const
encode absolute value in OpenPGP format, return length of output
Copy input to a memory buffer.
multiple precision integer and basic arithmetics
string-based implementation of Store interface
void Encode(byte *output, size_t outputLen, Signedness=UNSIGNED) const
encode in big-endian format
void DEREncode(BufferedTransformation &bt) const
encode using Distinguished Encoding Rules, put result into a BufferedTransformation object ...