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

XKMSRSAKeyPair Class Reference
[XML Key Management System Implementation]

#include <XKMSRSAKeyPair.hpp>

List of all members.


Detailed Description

Interface definition for the RSAKeyPair.

The <RSAKeyPair> is one of the few XKMS elements that is not directly part of an XKMS Message. It is sent in RegisterResult and RecoverResult messages as a CipherData.

This element allows the service to provide back to the user a complete RSA key - including the private components. The various components that make up an RSA key are all provided in Base64 format (CryptoBinary type)

The schema definition for RSAKeyPair is as follows :

   <!-- RSAKeyPair -->
   <element name="RSAKeyPair" type="xkms:RSAKeyPairType"/>
   <complexType name="RSAKeyPairType">
      <sequence>
         <element ref="xkms:Modulus"/>
         <element ref="xkms:Exponent"/>
         <element ref="xkms:P"/>
         <element ref="xkms:Q"/>
         <element ref="xkms:DP"/>
         <element ref="xkms:DQ"/>
         <element ref="xkms:InverseQ"/>
         <element ref="xkms:D"/>
      </sequence>
   </complexType>
   <element name="Modulus" type="ds:CryptoBinary"/>
   <element name="Exponent" type="ds:CryptoBinary"/>
   <element name="P" type="ds:CryptoBinary"/>
   <element name="Q" type="ds:CryptoBinary"/>
   <element name="DP" type="ds:CryptoBinary"/>
   <element name="DQ" type="ds:CryptoBinary"/>
   <element name="InverseQ" type="ds:CryptoBinary"/>
   <element name="D" type="ds:CryptoBinary"/>
   <!-- /RSAKeyPair -->

Note:
There are no "set" methods for this class. It is designed to be created "atomically" via the XKMSMessageFactory class and not altered.


Constructors and Destructors

virtual ~XKMSRSAKeyPair ()
 XKMSRSAKeyPair ()

Public Member Functions

Getter Interface Methods
virtual const XMLCh * getModulus (void) const =0
 Get the Modulus of the key pair.
virtual const XMLCh * getExponent (void) const =0
 Get the Exponent of the key pair.
virtual const XMLCh * getP (void) const =0
 Get the P of the key pair.
virtual const XMLCh * getQ (void) const =0
 Get the Q of the key pair.
virtual const XMLCh * getDP (void) const =0
 Get the DP of the key pair.
virtual const XMLCh * getDQ (void) const =0
 Get the DQ of the key pair.
virtual const XMLCh * getInverseQ (void) const =0
 Get the InverseQ of the key pair.
virtual const XMLCh * getD (void) const =0
 Get the D of the key pair.


Constructor & Destructor Documentation

XKMSRSAKeyPair::XKMSRSAKeyPair  )  [inline, protected]
 

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


Member Function Documentation

virtual const XMLCh* XKMSRSAKeyPair::getD void   )  const [pure virtual]
 

Get the D of the key pair.

Returns:
The D in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getDP void   )  const [pure virtual]
 

Get the DP of the key pair.

Returns:
The DP in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getDQ void   )  const [pure virtual]
 

Get the DQ of the key pair.

Returns:
The DQ in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getExponent void   )  const [pure virtual]
 

Get the Exponent of the key pair.

Returns:
The Exponent in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getInverseQ void   )  const [pure virtual]
 

Get the InverseQ of the key pair.

Returns:
The InverseQ in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getModulus void   )  const [pure virtual]
 

Get the Modulus of the key pair.

Returns:
The Modulus in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getP void   )  const [pure virtual]
 

Get the P of the key pair.

Returns:
The P in base64 encoding

virtual const XMLCh* XKMSRSAKeyPair::getQ void   )  const [pure virtual]
 

Get the Q of the key pair.

Returns:
The Q in base64 encoding


The documentation for this class was generated from the following file:
Generated on Sun Jan 28 19:51:26 2007 for XML-Security-C by  doxygen 1.4.2