Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

XKMSPrototypeKeyBinding Class Reference

#include <XKMSPrototypeKeyBinding.hpp>

Inheritance diagram for XKMSPrototypeKeyBinding:

Inheritance graph
[legend]
Collaboration diagram for XKMSPrototypeKeyBinding:

Collaboration graph
[legend]
List of all members.

Constructors and Destructors

virtual ~XKMSPrototypeKeyBinding ()
 XKMSPrototypeKeyBinding ()

Public Member Functions

Get Methods
virtual XKMSValidityIntervalgetValidityInterval (void) const =0
 Get the suggested ValidityInterval for this key.
virtual const XMLCh * getRevocationCodeIdentifier (void) const =0
 Obtain the RevocationCodeIdentifier to be used for this key.
Set Methods
virtual void setValidityInterval (const XMLCh *notBefore, const XMLCh *notOnOrAfter)=0
 Set the Validity Interval for this key.
virtual void setRevocationCodeIdentifier (const XMLCh *identifier)=0
 Set the RevocationCodeIdentifier.

Constructor & Destructor Documentation

XKMSPrototypeKeyBinding::XKMSPrototypeKeyBinding  )  [inline, protected]
 

virtual XKMSPrototypeKeyBinding::~XKMSPrototypeKeyBinding  )  [inline, virtual]
 


Member Function Documentation

virtual const XMLCh* XKMSPrototypeKeyBinding::getRevocationCodeIdentifier void   )  const [pure virtual]
 

Obtain the RevocationCodeIdentifier to be used for this key.

The client can provide a revocation code when registering a new key. The code provided initially is a double MACd version of the client's revocation pass phrase.

Should the client later wish to later revoke their key, they should provde the single MACd version which can then be converted to the double MAC by the server - thus validating the code without ever passing anything over the wire that will directly compromise the key until the final revoke request

Returns:
A pointer to the base64 encoded HMAC output

virtual XKMSValidityInterval* XKMSPrototypeKeyBinding::getValidityInterval void   )  const [pure virtual]
 

Get the suggested ValidityInterval for this key.

Clients can suggest a Validity period for a key using this element. Such requests can (of course) be ignored by the server

Returns:
The ValditityInterval object or NULL if none was defined

virtual void XKMSPrototypeKeyBinding::setRevocationCodeIdentifier const XMLCh *  identifier  )  [pure virtual]
 

Set the RevocationCodeIdentifier.

Sets the revocation code identifer

Parameters:
identifier string containing base64 encoded HMAC value

virtual void XKMSPrototypeKeyBinding::setValidityInterval const XMLCh *  notBefore,
const XMLCh *  notOnOrAfter
[pure virtual]
 

Set the Validity Interval for this key.

Parameters:
notBefore - dateTime string to set the NotBefore item as (NULL to clear)
notOnOrAfter - dateTime string to set the NotOnOrAfter item as (NULL to clear)


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 17:44:28 2005 for XML-Security-C by  doxygen 1.4.2