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

DSIGKeyInfoSPKIData Class Reference
[Main Signature API]

#include <DSIGKeyInfoSPKIData.hpp>

Inheritance diagram for DSIGKeyInfoSPKIData:

Inheritance graph
[legend]
Collaboration diagram for DSIGKeyInfoSPKIData:

Collaboration graph
[legend]
List of all members.

Detailed Description

The class for <SPKIData> nodes in a KeyInfo list.

Class for holding information on a SPKIData node as well as setting such a node in a signature.


Public Member Functions

Constructors and Destructors
 DSIGKeyInfoSPKIData (const XSECEnv *env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *nameNode)
 Constructor used when XML exists.
 DSIGKeyInfoSPKIData (const XSECEnv *env)
 Constructor used when XML needs to be created.
virtual ~DSIGKeyInfoSPKIData ()
 Destructor.
Load and Get functions
void load (void)
 Load an existing XML structure into this object.
unsigned int getSexpSize (void)
 Get the number of S-expressions.
virtual const XMLCh * getSexp (unsigned int index)
 returns the indicated SExpression
virtual const XMLCh * getKeyName (void)
 Get key name - unimplemented for SPKI packets.
Create and set functions
XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
createBlankSPKIData (const XMLCh *Sexp)
 Create a new SPKIData element in the document.
void appendSexp (const XMLCh *Sexp)
 Append a new SPKISexp element to the SPKIData nodes.
Information Functions
virtual keyInfoType getKeyInfoType (void)
 Return type of this KeyInfo element.

Classes

struct  SexpNode


Constructor & Destructor Documentation

DSIGKeyInfoSPKIData::DSIGKeyInfoSPKIData const XSECEnv env,
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  nameNode
 

Constructor used when XML exists.

This constructor is used by interface objects to load an existing DOM structure into the Name element.

Parameters:
env Environment KeyInfo is operating in
nameNode DOMNode to load information from

DSIGKeyInfoSPKIData::DSIGKeyInfoSPKIData const XSECEnv env  ) 
 

Constructor used when XML needs to be created.

This constructor is used by interface objects to create a DSIGKeyInfoSPKIData object that can then be used to create the required XML.

Parameters:
env Operating environment

virtual DSIGKeyInfoSPKIData::~DSIGKeyInfoSPKIData  )  [virtual]
 

Destructor.


Member Function Documentation

void DSIGKeyInfoSPKIData::appendSexp const XMLCh *  Sexp  ) 
 

Append a new SPKISexp element to the SPKIData nodes.

Append a new SPKISexp element to the list of S-expressions that already exists.

Parameters:
Sexp Value (base64 encoded string) to set the new S-expression

XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* DSIGKeyInfoSPKIData::createBlankSPKIData const XMLCh *  Sexp  ) 
 

Create a new SPKIData element in the document.

Creates a new SPKIData element and sets the first S-expression with the string passed in.

Parameters:
Sexp Value (base64 encoded string) to set the first S-expression
Returns:
The newly created DOMElement with the structure underneath.

virtual keyInfoType DSIGKeyInfoSPKIData::getKeyInfoType void   )  [inline, virtual]
 

Return type of this KeyInfo element.

Implements DSIGKeyInfo.

virtual const XMLCh* DSIGKeyInfoSPKIData::getKeyName void   )  [inline, virtual]
 

Get key name - unimplemented for SPKI packets.

Implements DSIGKeyInfo.

virtual const XMLCh* DSIGKeyInfoSPKIData::getSexp unsigned int  index  )  [virtual]
 

returns the indicated SExpression

Returns a pointer to a XMLCh buffer holding the required SExpression.

Parameters:
index The number of the SExpression to return
Returns:
A pointer to the char buffer containing the base64 encoded S-expression

unsigned int DSIGKeyInfoSPKIData::getSexpSize void   ) 
 

Get the number of S-expressions.

Returns the number of S-expressions held for this SPKIData element

Returns:
The number of S-expressions

void DSIGKeyInfoSPKIData::load void   )  [virtual]
 

Load an existing XML structure into this object.

Implements DSIGKeyInfo.


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