#include <DSIGKeyInfoValue.hpp>
Inheritance diagram for DSIGKeyInfoValue:
Public Methods | |
Constructors and Destructors | |
DSIGKeyInfoValue (DSIGSignature *sig, DOMNode *valueNode) | |
Constructor for an existing signature *. More... | |
DSIGKeyInfoValue (DSIGSignature *sig) | |
Constructor for creating from scratch. More... | |
virtual | ~DSIGKeyInfoValue () |
Loading and Get functions | |
virtual void | load (void) |
Load an existing XML structure. More... | |
const char * | getDSAP (void) |
Get P value. More... | |
const char * | getDSAQ (void) |
Get Q value. More... | |
const char * | getDSAG (void) |
Get G value. More... | |
const char * | getDSAY (void) |
Get Y value. More... | |
const char * | getRSAModulus (void) |
Get Modulus. More... | |
const char * | getRSAExponent (void) |
Get Exponent. More... | |
DSA Create and set functions | |
DOMElement * | createBlankDSAKeyValue (const char *P, const char *Q, const char *G, const char *Y) |
Create a blank KeyValue (and DOM structure). More... | |
void | setDSAP (const char *P) |
Set P value. More... | |
void | setDSAQ (const char *Q) |
Set Q value. More... | |
void | setDSAG (const char *G) |
Set G value. More... | |
void | setDSAY (const char *Y) |
Set Y value. More... | |
RSA Create and Set functions | |
DOMElement * | DSIGKeyInfoValue::createBlankRSAKeyValue (const char *modulus, const char *exponent) |
void | DSIGKeyInfoValue::setRSAModulus (const char *modulus) |
Set the Modulus. More... | |
void | DSIGKeyInfoValue::setRSAExponent (const char *exponent) |
Set the exponent. More... | |
Information Functions | |
virtual keyInfoType | getKeyInfoType (void) |
Interface call to return type. More... | |
virtual safeBuffer | getKeyName (void) |
Get the name of this key (irrelevant for a KeyValue). More... |
Class for holding information on a KeyValue node as well as setting such a node in a signature.
|
Constructor for an existing signature *.
Constructor used when loading a KeyValue node that already exists in an XML document.
|
|
Constructor for creating from scratch.
Constructor used when creating a new KeyValue node to append to a signature structure.
|
|
|
|
Create a blank KeyValue (and DOM structure).
Create a blank KeyValue structure with the passed parameters and create the required DOM structure as well.
|
|
|
|
Set the exponent.
Set the base64 encoded string of the exponent value within the element
|
|
Set the Modulus.
Set the base64 encoded string of the Modulus value within the element.
|
|
Get G value.
|
|
Get P value.
|
|
Get Q value.
|
|
Get Y value.
|
|
Interface call to return type.
Implements DSIGKeyInfo. |
|
Get the name of this key (irrelevant for a KeyValue).
Implements DSIGKeyInfo. |
|
Get Exponent.
|
|
Get Modulus.
|
|
Load an existing XML structure.
Called by the Signature class when it is reading in a DOM structure Implements DSIGKeyInfo. |
|
Set G value.
Take the provided string and use it to set the G parameter in the KeyValue |
|
Set P value.
Take the provided string and use it to set the P parameter in the KeyValue |
|
Set Q value.
Take the provided string and use it to set the Q parameter in the KeyValue |
|
Set Y value.
Take the provided string and use it to set the Y parameter in the KeyValue |