| 34 | EncryptionAlgorithm::IRep EncryptionAlgorithm::getIntegerRep() const { return Value; } |
| 35 | |
| 36 | bool EncryptionAlgorithm::isValidStringRep(std::string srep) { |
| 37 | bool retval = false; |
| 38 | for (unsigned int i = 0; i < NumValues; i++) { |
| 39 | if (Translations[i].srep == srep) { |
| 40 | retval = true; |
| 41 | } |
| 42 | } |
| 43 | return retval; |
| 44 | } |
| 45 | |
| 46 | bool EncryptionAlgorithm::isValidIntegerRep(unsigned int irep) { return (irep < NumValues); } |
| 47 |
nothing calls this directly
no outgoing calls
no test coverage detected