10 const byte s_stdVec[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
11 const byte s_urlVec[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
12 const byte s_padding =
'=';
20 const char *lineBreak = insertLineBreaks ?
"\n" :
"";
25 (Name::PaddingByte(), s_padding)
26 (Name::GroupSize(), insertLineBreaks ? maxLineLength : 0)
29 (Name::Log2Base(), 6,
true)));
37 const char *lineBreak = insertLineBreaks ?
"\n" :
"";
42 (Name::PaddingByte(), s_padding)
43 (Name::GroupSize(), insertLineBreaks ? maxLineLength : 0)
46 (Name::Log2Base(), 6,
true)));
53 MakeParameters(Name::DecodingLookupArray(), GetDecodingLookupArray(),
false)(Name::Log2Base(), 6,
true)));
58 static volatile bool s_initialized =
false;
59 static int s_array[256];
63 InitializeDecodingLookupArray(s_array, s_stdVec, 64,
false);
73 MakeParameters(Name::DecodingLookupArray(), GetDecodingLookupArray(),
false)(Name::Log2Base(), 6,
true)));
78 static volatile bool s_initialized =
false;
79 static int s_array[256];
83 InitializeDecodingLookupArray(s_array, s_urlVec, 64,
false);
Used to pass byte array input as part of a NameValuePairs object.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
member_ptr< BufferedTransformation > m_filter
T GetValueWithDefault(const char *name, T defaultValue) const
Get a named value.
#define NAMESPACE_BEGIN(x)
Combines two sets of NameValuePairs.
static const int *CRYPTOPP_API GetDecodingLookupArray()
Provides the default decoding lookup table.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
static const int *CRYPTOPP_API GetDecodingLookupArray()
Provides the default decoding lookup table.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
CRYPTOPP_DLL int GetIntValueWithDefault(const char *name, int defaultValue) const
Get a named value with type int, with default.
Classes for the Base64Encoder, Base64Decoder, Base64URLEncoder and Base64URLDecoder.
void IsolatedInitialize(const NameValuePairs ¶meters)
std::vector< char * > parameters
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
void IsolatedInitialize(const NameValuePairs ¶meters)
Initialize or reinitialize this object, without signal propagation.
Interface for retrieving values given their names.