#include <XKMSRegisterRequest.hpp>
Inheritance diagram for XKMSRegisterRequest:
The <RegisterRequest> is one of the fundamental message types of the X-KRMS service. It is used by a client wishing to register a key with a service.
The schema definition for RegisterRequest is as follows :
<!-- RegisterRequest --> <element name="RegisterRequest" type="xkms:RegisterRequestType"/> <complexType name="RegisterRequestType"> <complexContent> <extension base="xkms:RequestAbstractType"> <sequence> <element ref="xkms:PrototypeKeyBinding"/> <element ref="xkms:Authentication"/> <element ref="xkms:ProofOfPossession" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- /RegisterRequest -->
Constructors and Destructors | |
virtual | ~XKMSRegisterRequest () |
XKMSRegisterRequest () | |
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. | |
virtual XKMSPrototypeKeyBinding * | getPrototypeKeyBinding (void) const =0 |
Obtain the PrototypKeyBinding element. | |
virtual XKMSAuthentication * | getAuthentication (void) const =0 |
Get the Authentication element. | |
virtual DSIGSignature * | getProofOfPossessionSignature (void) const =0 |
Get the signature used to prove possession of the private key. | |
Setter Interface Methods | |
virtual XKMSPrototypeKeyBinding * | addPrototypeKeyBinding (void)=0 |
Add a PrototypeKeyBinding element. | |
virtual XKMSAuthentication * | addAuthentication (void)=0 |
Add an Authentication element. | |
virtual DSIGSignature * | addProofOfPossessionSignature (canonicalizationMethod cm=CANON_C14N_NOC, signatureMethod sm=SIGNATURE_DSA, hashMethod hm=HASH_SHA1)=0 |
Add a ProofOfPossession signature to the message. |
|
|
|
|
|
Add an Authentication element. Set a Authentication element in the Request message. The returned object can be manipulated to add Authentication information to the request.
|
|
Add a ProofOfPossession signature to the message. Allows the application to add a new ProofOfPossession signature into a RegisterRequest element
|
|
Add a PrototypeKeyBinding element. Set a PrototypeKeyBinding element in the Request message. The returned object can be manipulated to add KeyInfo elements to the Request.
|
|
Get the Authentication element. The Authentication element of the RegisterRequest is used by the client to authenticate the request to the server.
|
|
Return the element at the base of the message.
Implements XKMSRequestAbstractType. |
|
Get the signature used to prove possession of the private key. When the client presents a request for a key generated by them, this element is used to show that the client is authorised to make this request using this key.
|
|
Obtain the PrototypKeyBinding element. The PrototypeKeyBinding element is the core of the RegisterRequest message, and defines the key information that will be sent to the server for registration.
|