IPKIFKeyAgreeContext Class Reference

#include <IPKIFKeyAgreeContext.h>

Inheritance diagram for IPKIFKeyAgreeContext:

Inheritance graph
[legend]

List of all members.


Detailed Description

IPKIFKeyAgreeContext is an abstract interface for the state that must be maintained between shared secret agreement and key derivation. Applications receive a pointer to a context object when they call one of the SecretAgree() functions, must set any required shared information in the context, then pass it to DeriveKey() to derive the actual key from the agreed secret.

TSP-enforcing: No

Definition at line 26 of file IPKIFKeyAgreeContext.h.


Public Member Functions

 IPKIFKeyAgreeContext ()
virtual ~IPKIFKeyAgreeContext ()
virtual void SetAlgorithm (const CPKIFAlgorithm *alg)=0
virtual const CPKIFAlgorithmGetAlgorithm () const =0
virtual void PrependSharedInfo (const CPKIFBufferPtr &data)=0
virtual void AppendSharedInfo (const CPKIFBufferPtr &data)=0
virtual CPKIFBufferListGetPrependedSharedInfo () const =0
virtual CPKIFBufferListGetAppendedSharedInfo () const =0
virtual void SetOwner (IPKIFCryptoKeyAgree *owner)=0
virtual IPKIFCryptoKeyAgreeGetOwner () const =0

Constructor & Destructor Documentation

IPKIFKeyAgreeContext::IPKIFKeyAgreeContext (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 17 of file IPKIFKeyAgreeContext.cpp.

IPKIFKeyAgreeContext::~IPKIFKeyAgreeContext (  )  [virtual]

Interface: External

Default destructor

Returns:
None

Definition at line 27 of file IPKIFKeyAgreeContext.cpp.


Member Function Documentation

virtual void IPKIFKeyAgreeContext::SetAlgorithm ( const CPKIFAlgorithm alg  )  [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual const CPKIFAlgorithm* IPKIFKeyAgreeContext::GetAlgorithm (  )  const [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual void IPKIFKeyAgreeContext::PrependSharedInfo ( const CPKIFBufferPtr &  data  )  [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual void IPKIFKeyAgreeContext::AppendSharedInfo ( const CPKIFBufferPtr &  data  )  [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual CPKIFBufferList& IPKIFKeyAgreeContext::GetPrependedSharedInfo (  )  const [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual CPKIFBufferList& IPKIFKeyAgreeContext::GetAppendedSharedInfo (  )  const [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual void IPKIFKeyAgreeContext::SetOwner ( IPKIFCryptoKeyAgree owner  )  [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.

virtual IPKIFCryptoKeyAgree* IPKIFKeyAgreeContext::GetOwner (  )  const [pure virtual]

Implemented in CPKIFKeyAgreeContextBase.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:58 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6