|
Crypto++
8.4
Free C++ class library of cryptographic schemes
|
Elliptic Curve German DSA key for ISO/IEC 15946. More...
Public Types | |
| typedef EC::Point | Element |
Public Member Functions | |
| void | Initialize (const DL_GroupParameters_EC< EC > ¶ms, const Integer &x) |
| Initialize an EC Private Key using {GP,x}. More... | |
| void | Initialize (const EC &ec, const Element &G, const Integer &n, const Integer &x) |
| Initialize an EC Private Key using {EC,G,n,x}. More... | |
| void | Initialize (RandomNumberGenerator &rng, const DL_GroupParameters_EC< EC > ¶ms) |
| Create an EC private key. More... | |
| void | Initialize (RandomNumberGenerator &rng, const EC &ec, const Element &G, const Integer &n) |
| Create an EC private key. More... | |
| virtual void | MakePublicKey (DL_PublicKey_ECGDSA< EC > &pub) const |
| virtual bool | GetVoidValue (const char *name, const std::type_info &valueType, void *pValue) const |
| virtual void | AssignFrom (const NameValuePairs &source) |
| void | BERDecodePrivateKey (BufferedTransformation &bt, bool parametersPresent, size_t size) |
| void | DEREncodePrivateKey (BufferedTransformation &bt) const |
Elliptic Curve German DSA key for ISO/IEC 15946.
| EC | elliptic curve field |
Definition at line 411 of file eccrypto.h.
|
inline |
Initialize an EC Private Key using {GP,x}.
| params | group parameters |
| x | the private exponent |
This Initialize() function overload initializes a private key from existing parameters.
Definition at line 429 of file eccrypto.h.
|
inline |
Initialize an EC Private Key using {EC,G,n,x}.
| ec | the elliptic curve |
| G | the base point |
| n | the order of the base point |
| x | the private exponent |
This Initialize() function overload initializes a private key from existing parameters.
Definition at line 442 of file eccrypto.h.
|
inline |
Create an EC private key.
| rng | a RandomNumberGenerator derived class |
| params | the EC group parameters |
This function overload of Initialize() creates a new private key because it takes a RandomNumberGenerator() as a parameter. If you have an existing keypair, then use one of the other Initialize() overloads.
Definition at line 455 of file eccrypto.h.
|
inline |
Create an EC private key.
| rng | a RandomNumberGenerator derived class |
| ec | the elliptic curve |
| G | the base point |
| n | the order of the base point |
This function overload of Initialize() creates a new private key because it takes a RandomNumberGenerator() as a parameter. If you have an existing keypair, then use one of the other Initialize() overloads.
Definition at line 466 of file eccrypto.h.
1.8.17