| 123 | } |
| 124 | |
| 125 | EC2N::Point EC2N::BERDecodePoint(BufferedTransformation &bt) const |
| 126 | { |
| 127 | SecByteBlock str; |
| 128 | BERDecodeOctetString(bt, str); |
| 129 | Point P; |
| 130 | if (!DecodePoint(P, str, str.size())) |
| 131 | BERDecodeError(); |
| 132 | return P; |
| 133 | } |
| 134 | |
| 135 | void EC2N::DEREncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const |
| 136 | { |
nothing calls this directly
no test coverage detected