#include <eccrypto.h>
Inheritance diagram for ECParameters:

Public Types | |
| typedef EC::Point | Point |
Public Methods | |
| ECParameters () | |
| ECParameters (const OID &oid) | |
| ECParameters (const EC &ec,const Point &G,const Integer &n) | |
| ECParameters (const EC &ec,const Point &G,const Integer &n,const Integer &k) | |
| ECParameters (BufferedTransformation &bt) | |
| void | LoadRecommendedParameters (const OID &oid) |
| void | BERDecode (BufferedTransformation &bt) |
| void | DEREncode (BufferedTransformation &bt)const |
| bool | ValidateParameters (RandomNumberGenerator &rng)const |
| void | Precompute (unsigned int precomputationStorage=16) |
| void | LoadPrecomputation (BufferedTransformation &storedPrecomputation) |
| retrieve previously saved precomputation. More... | |
| void | SavePrecomputation (BufferedTransformation &storedPrecomputation)const |
| save precomputation for later use. More... | |
| void | SetPointCompression (bool compress) |
| bool | GetPointCompression ()const |
| void | SetEncodeAsOID (bool encodeAsOID) |
| bool | GetEncodeAsOID ()const |
| const EC& | GetCurve ()const |
| const Point& | GetBasePoint ()const |
| const Integer& | GetBasePointOrder ()const |
| const bool | CofactorPresent ()const |
| const Integer& | GetCofactor ()const |
Static Public Methods | |
| OID | GetNextRecommendedParametersOID (const OID &oid) |
Protected Methods | |
| unsigned int | EncodedPointSize ()const |
| void | EncodePoint (byte *encodedPoint,const Point &P)const |
| unsigned int | FieldElementLength ()const |
| unsigned int | ExponentLength ()const |
| unsigned int | ExponentBitLength ()const |
Protected Attributes | |
| OID | m_oid |
| value_ptr<EC> | m_ec |
| Point | m_G |
| EcPrecomputation<EC> | m_Gpc |
| Integer | m_n |
| bool | m_cofactorPresent |
| bool | m_compress |
| bool | m_encodeAsOID |
| Integer | m_k |
This class corresponds to the ASN.1 sequence of the same name in ANSI X9.62 (also SEC 1).
Definition at line 51 of file eccrypto.h.
|
|||
|
Definition at line 54 of file eccrypto.h. |
|
||||
|
Definition at line 56 of file eccrypto.h. |
|
||||
|
Definition at line 57 of file eccrypto.h. |
|
||||||||
|
Definition at line 59 of file eccrypto.h. |
|
||||||||||
|
Definition at line 61 of file eccrypto.h. |
|
||||
|
Definition at line 63 of file eccrypto.h. |
|
||||
|
Definition at line 370 of file eccrypto.cpp. |
|
||||
|
Definition at line 88 of file eccrypto.h. |
|
||||
|
Definition at line 393 of file eccrypto.cpp. |
|
||||||
|
Definition at line 93 of file eccrypto.h. |
|
||||
|
Definition at line 92 of file eccrypto.h. |
|
||||
|
Definition at line 96 of file eccrypto.h. |
|
||||
|
Definition at line 95 of file eccrypto.h. |
|
||||
|
Definition at line 94 of file eccrypto.h. |
|
||||
|
Definition at line 86 of file eccrypto.h. |
|
||||
|
Definition at line 87 of file eccrypto.h. |
|
||||
|
Definition at line 89 of file eccrypto.h. |
|
||||
|
Definition at line 85 of file eccrypto.h. |
|
||||
|
Definition at line 83 of file eccrypto.h. |
|
||||
|
Definition at line 336 of file eccrypto.cpp. |
|
||||
|
Definition at line 80 of file eccrypto.h. |
|
||||
|
retrieve previously saved precomputation.
Reimplemented from PK_Precomputation. Reimplemented in ECPublicKey. Definition at line 426 of file eccrypto.cpp. |
|
||||
|
Definition at line 347 of file eccrypto.cpp. |
|
||||
|
The exact semantics of Precompute() is varies, but typically it means calculate a table of n objects that can be used later to speed up computation. Reimplemented from PK_Precomputation. Reimplemented in ECPublicKey. Definition at line 420 of file eccrypto.cpp. |
|
||||
|
save precomputation for later use.
Reimplemented from PK_Precomputation. Reimplemented in ECPublicKey. Definition at line 432 of file eccrypto.cpp. |
|
||||
|
Definition at line 82 of file eccrypto.h. |
|
||||
|
Definition at line 79 of file eccrypto.h. |
|
||||
|
Definition at line 410 of file eccrypto.cpp. |
|
|||
|
Definition at line 100 of file eccrypto.h. |
|
|||
|
Definition at line 101 of file eccrypto.h. |
|
|||
|
Definition at line 103 of file eccrypto.h. |
|
|||
|
Definition at line 103 of file eccrypto.h. |
|
|||
|
Definition at line 99 of file eccrypto.h. |
|
|||
|
Definition at line 103 of file eccrypto.h. |
|
|||
|
Definition at line 104 of file eccrypto.h. |
|
|||
|
Definition at line 102 of file eccrypto.h. |
|
|||
|
Definition at line 98 of file eccrypto.h. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000