#include <XKMSRecoverResult.hpp>
Inheritance diagram for XKMSRecoverResult:
The <RecoverResult> is used by the X-KRSS service to response to a user request to Recover a new key with the service.
The schema definition for RecoverResult is as follows :
<!-- RecoverResult --> <element name="RecoverResult" type="xkms:RecoverResultType"/> <complexType name="RecoverResultType"> <complexContent> <extension base="xkms:ResultType"> <sequence> <element ref="xkms:KeyBinding" minOccurs="0" maxOccurs="unbounded"/> <element ref="xkms:PrivateKey" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- /RecoverResult -->
Constructors and Destructors | |
virtual | ~XKMSRecoverResult () |
XKMSRecoverResult () | |
Public Member Functions | |
Getter Interface Methods | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | getElement (void) const =0 |
Return the element at the base of the message. | |
KeyBinding handling | |
virtual int | getKeyBindingSize (void) const =0 |
Find number of KeyBinding elements. | |
virtual XKMSKeyBinding * | getKeyBindingItem (int item) const =0 |
virtual XKMSKeyBinding * | appendKeyBindingItem (XKMSStatus::StatusValue status)=0 |
PrivateKey handling | |
virtual XKMSRSAKeyPair * | getRSAKeyPair (const char *passPhrase)=0 |
Return the RSAKeyPair. | |
virtual XENCEncryptedData * | setRSAKeyPair (const char *passPhrase, XMLCh *Modulus, XMLCh *Exponent, XMLCh *P, XMLCh *Q, XMLCh *DP, XMLCh *DQ, XMLCh *InverseQ, XMLCh *D, encryptionMethod em, const XMLCh *algorithmURI=NULL)=0 |
Add the RSAKeyPair in an encrypted PrivateKey. |
|
|
|
|
|
|
|
Return the element at the base of the message.
Implements XKMSMessageAbstractType. |
|
|
|
Find number of KeyBinding elements.
|
|
Return the RSAKeyPair. This call requires the passphrase used to encrypt the private key. The implementation decrypts the PrivateKey element in the RecoverResult and returns the resulting RSAKeyPair.
|
|
Add the RSAKeyPair in an encrypted PrivateKey. This call requires the passphrase to encrypt the private key. The implementation encrypts the RSAKeyPair and adds the result to the resulting RSAKey Pair. It returns the CipherData element to the caller (not a structure for the PrivateKey)
|