Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ECPrivateKey Class Template Reference

Elliptic Curve Private Key. More...

#include <eccrypto.h>

Inheritance diagram for ECPrivateKey:

ECPublicKey ECParameters PK_Precomputation PK_Precomputation ECDecryptor ECDigestSigner List of all members.

Public Types

typedef EC::Point Point

Public Methods

 ECPrivateKey (const ECParameters< EC > &params,const Point &Q,const Integer &d)
 ECPrivateKey (const OID &oid,const Point &Q,const Integer &d)
 ECPrivateKey (const EC &ec,const Point &G,const Integer &n,const Point &Q,const Integer &d)
 ECPrivateKey (RandomNumberGenerator &rng,const ECParameters< EC > &params)
 ECPrivateKey (RandomNumberGenerator &rng,const OID &oid)
 ECPrivateKey (RandomNumberGenerator &rng,const EC &ec,const Point &G,const Integer &n)
 ECPrivateKey (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt)const
const IntegerGetPrivateExponent ()const

Protected Types

typedef EC::FieldElement FieldElement

Protected Methods

void Randomize (RandomNumberGenerator &rng)
void RawDecode (BERSequenceDecoder &bt,bool needParameters)

Protected Attributes

Integer m_d

Detailed Description

template<class EC> class ECPrivateKey

Elliptic Curve Private Key.

Definition at line 210 of file eccrypto.h.


Member Typedef Documentation

template<class EC>
typedef EC::FieldElement ECPrivateKey<EC>::FieldElement [protected]
 

Definition at line 236 of file eccrypto.h.

template<class EC>
typedef EC::Point ECPrivateKey<EC>::Point
 

Reimplemented from ECPublicKey.

Definition at line 213 of file eccrypto.h.


Constructor & Destructor Documentation

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( const ECParameters< EC > & params,
const Point & Q,
const Integer & d ) [inline]
 

Definition at line 215 of file eccrypto.h.

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( const OID & oid,
const Point & Q,
const Integer & d ) [inline]
 

Definition at line 217 of file eccrypto.h.

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( const EC & ec,
const Point & G,
const Integer & n,
const Point & Q,
const Integer & d ) [inline]
 

Definition at line 219 of file eccrypto.h.

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( RandomNumberGenerator & rng,
const ECParameters< EC > & params ) [inline]
 

Definition at line 222 of file eccrypto.h.

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( RandomNumberGenerator & rng,
const OID & oid ) [inline]
 

Definition at line 224 of file eccrypto.h.

template<class EC>
ECPrivateKey<EC>::ECPrivateKey<EC> ( RandomNumberGenerator & rng,
const EC & ec,
const Point & G,
const Integer & n ) [inline]
 

Definition at line 226 of file eccrypto.h.

template<class EC>
ECPrivateKey< EC >::ECPrivateKey<EC> ( BufferedTransformation & bt )
 

Definition at line 509 of file eccrypto.cpp.


Member Function Documentation

template<class EC>
void ECPrivateKey< EC >::DEREncode ( BufferedTransformation & bt ) const
 

Reimplemented from ECPublicKey.

Definition at line 570 of file eccrypto.cpp.

template<class EC>
const Integer & ECPrivateKey<EC>::GetPrivateExponent ( ) const [inline]
 

Definition at line 233 of file eccrypto.h.

template<class EC>
void ECPrivateKey< EC >::Randomize ( RandomNumberGenerator & rng ) [protected]
 

Definition at line 598 of file eccrypto.cpp.

template<class EC>
void ECPrivateKey< EC >::RawDecode ( BERSequenceDecoder & seq,
bool needParameters ) [protected]
 

Definition at line 539 of file eccrypto.cpp.


Member Data Documentation

template<class EC>
Integer ECPrivateKey<EC>::m_d [protected]
 

Definition at line 240 of file eccrypto.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:47 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000