| 217 | } |
| 218 | |
| 219 | Integer DL_GroupParameters_IntegerBased::DecodeElement(const byte *encoded, bool checkForGroupMembership) const |
| 220 | { |
| 221 | CRYPTOPP_UNUSED(checkForGroupMembership); |
| 222 | Integer g(encoded, GetModulus().ByteCount()); |
| 223 | if (!ValidateElement(1, g, NULL)) |
| 224 | throw DL_BadElement(); |
| 225 | return g; |
| 226 | } |
| 227 | |
| 228 | void DL_GroupParameters_IntegerBased::BERDecode(BufferedTransformation &bt) |
| 229 | { |