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

ECEncryptor Class Template Reference

Elliptic Curve ECIES, AKA EC-DHAES. More...

#include <eccrypto.h>

Inheritance diagram for ECEncryptor:

ECPublicKey PK_WithPrecomputation ECParameters PK_Precomputation PK_Precomputation PK_Precomputation List of all members.

Public Types

typedef EC::Point Point

Public Methods

 ECEncryptor (const ECPublicKey< EC > &key)
 ECEncryptor (const ECParameters< EC > &params,const Point &Q)
 ECEncryptor (const OID &oid,const Point &Q)
 ECEncryptor (const EC &ec,const Point &G,const Integer &n,const Point &Q)
 ECEncryptor (BufferedTransformation &bt)
unsigned int MaxPlainTextLength (unsigned int cipherTextLength)const
unsigned int CipherTextLength (unsigned int plainTextLength)const
void Encrypt (RandomNumberGenerator &rng,const byte *plainText,unsigned int plainTextLength,byte *cipherText)

Detailed Description

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>> class ECEncryptor

Elliptic Curve ECIES, AKA EC-DHAES.

Definition at line 321 of file eccrypto.h.


Member Typedef Documentation

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
typedef EC::Point ECEncryptor<EC, MAC, KDF>::Point
 

Reimplemented from ECPublicKey.

Definition at line 324 of file eccrypto.h.


Constructor & Destructor Documentation

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
ECEncryptor<EC, MAC, KDF>::ECEncryptor<EC, MAC, KDF> ( const ECPublicKey< EC > & key ) [inline]
 

Definition at line 326 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
ECEncryptor<EC, MAC, KDF>::ECEncryptor<EC, MAC, KDF> ( const ECParameters< EC > & params,
const Point & Q ) [inline]
 

Definition at line 326 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
ECEncryptor<EC, MAC, KDF>::ECEncryptor<EC, MAC, KDF> ( const OID & oid,
const Point & Q ) [inline]
 

Definition at line 326 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
ECEncryptor<EC, MAC, KDF>::ECEncryptor<EC, MAC, KDF> ( const EC & ec,
const Point & G,
const Integer & n,
const Point & Q ) [inline]
 

Definition at line 326 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
ECEncryptor<EC, MAC, KDF>::ECEncryptor<EC, MAC, KDF> ( BufferedTransformation & bt ) [inline]
 

Definition at line 326 of file eccrypto.h.


Member Function Documentation

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
unsigned int ECEncryptor<EC, MAC, KDF>::CipherTextLength ( unsigned int plainTextLength ) const [inline]
 

Definition at line 330 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
void ECEncryptor<EC, MAC, KDF>::Encrypt ( RandomNumberGenerator & rng,
const byte * plainText,
unsigned int plainTextLength,
byte * cipherText ) [inline]
 

Definition at line 333 of file eccrypto.h.

template<class EC, class MAC = HMAC<SHA>, class KDF = P1363_KDF2<SHA>>
unsigned int ECEncryptor<EC, MAC, KDF>::MaxPlainTextLength ( unsigned int cipherTextLength ) const [inline]
 

Definition at line 328 of file eccrypto.h.


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