#include <XKMSAuthentication.hpp>
The <Authentication> Element used within a number of X-KRSS requests as the mechanism for authentication a request from a client to the server
It can contain either a standard XML-Signature element (via a KeyBindingAuthentication element) or a straight password (not otherwise protected).
The schema definition for ValidityInterval is as follows :
<!-- Authentication --> <element name="Authentication" type="xkms:AuthenticationType"/> <complexType name="AuthenticationType"> <sequence> <element ref="xkms:KeyBindingAuthentication" minOccurs="0"/> <element ref="xkms:NotBoundAuthentication" minOccurs="0"/> </sequence> </complexType> <!-- /Authentication -->
Constructors and Destructors | |
virtual | ~XKMSAuthentication () |
XKMSAuthentication () | |
Public Member Functions | |
Get Methods | |
virtual DSIGSignature * | getKeyBindingAuthenticationSignature (void) const =0 |
Get KeyBindingAuthentication signature construct. | |
virtual XKMSNotBoundAuthentication * | getNotBoundAuthentication (void) const =0 |
Get the NotBoundAuthentication structure. | |
Set Methods | |
virtual DSIGSignature * | addKeyBindingAuthenticationSignature (canonicalizationMethod cm=CANON_C14NE_NOC, signatureMethod sm=SIGNATURE_HMAC, hashMethod hm=HASH_SHA1)=0 |
Add a KeyBindingAuthentication signature to the message. | |
virtual void | setNotBoundAuthentication (const XMLCh *uri, const XMLCh *value)=0 |
Set the NotBoundAuthentication value. |
|
|
|
|
|
Add a KeyBindingAuthentication signature to the message. Allows the application to add a new signature into a KeyBindingAuthentication element
|
|
Get KeyBindingAuthentication signature construct. A <XKMSAuthentication> can have a <KeyBindingAuthentication> element as an immediate child. This element is used to hold a XML-Signature over the PrototypeKeyBinding.
|
|
Get the NotBoundAuthentication structure. The NotBoundAuthentication element is used to pass a plaintext key along with the request message as the authentication mechanism.
|
|
Set the NotBoundAuthentication value. Allows applications to set a authentication value
|