diff options
Diffstat (limited to 'ec2n.h')
-rw-r--r-- | ec2n.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -114,8 +114,14 @@ public: Element BERDecodeElement(BufferedTransformation &bt) const {return m_ec.BERDecodePoint(bt);}
void DEREncodeElement(BufferedTransformation &bt, const Element &v) const {m_ec.DEREncodePoint(bt, v, false);}
- // non-inherited
+ /// \brief Set the elliptic curve
+ /// \param ec ECP derived class
+ /// \details SetCurve() is not inherited
void SetCurve(const EC2N &ec) {m_ec = ec;}
+
+ /// \brief Get the elliptic curve
+ /// \returns EC2N curve
+ /// \details GetCurve() is not inherited
const EC2N & GetCurve() const {return m_ec;}
private:
|