#include <XENCEncryptedKey.hpp>
Inheritance diagram for XENCEncryptedKey:
The <EncryptedKey> element is an abstract type which builds on the EncryptedType element for encrypted data (as opposed to encrypted data).
In general, this class should not be used directly. For most applications, callers will want to use the XENCCipher class instead.
The schema definition for EncryptedKey is as follows:
<element name='EncryptedKey' type='xenc:EncryptedKeyType'/> <complexType name='EncryptedKeyType'> <complexContent> <extension base='xenc:EncryptedType'> <sequence> <element ref='xenc:ReferenceList' minOccurs='0'/> <element name='CarriedKeyName' type='string' minOccurs='0'/> </sequence> <attribute name='Recipient' type='string' use='optional'/> </extension> </complexContent> </complexType>
Constructors and Destructors | |
virtual | ~XENCEncryptedKey () |
XENCEncryptedKey (const XSECEnv *env) | |
Public Member Functions | |
EncryptedKey Specific Getter Methods | |
virtual const XMLCh * | getCarriedKeyName (void) const =0 |
Get the CarriedKeyName. | |
virtual const XMLCh * | getRecipient (void) const =0 |
Get the Recipient name. | |
EncryptedKey Specific Setter Methods | |
virtual void | setCarriedKeyName (const XMLCh *name)=0 |
Set the CarriedKeyName. | |
virtual void | setRecipient (const XMLCh *recipient)=0 |
Set the Recipient name. |
|
|
|
|
|
Get the CarriedKeyName. EncryptedKey elements MAY have a CarriedKeyName element that links the EncryptedKey to a KeyName KeyInfo element in another EncryptedKey or EncryptedData element. This method allows applications to retrieve the Carried Key Name for the particular EncryptedKey
|
|
Get the Recipient name. EncryptedKey elements MAY have a Recipient Attribute on the main EncryptedKey element that provide a hint to the application as to who the recipient of the key is. This method returns this string in cases where it has been provided
|
|
Set the CarriedKeyName. EncryptedKey elements MAY have a CarriedKeyName element that links the EncryptedKey to a KeyName KeyInfo element in another EncryptedKey or EncryptedData element. This method allows applications to set the Carried Key Name for the particular EncryptedKey
|
|
Set the Recipient name. EncryptedKey elements MAY have a Recipient Attribute on the main EncryptedKey element that provide a hint to the application as to who the recipient of the key is. This method sets the Recipient string
|