*
* @param credResolver locked credential resolver to supply decryption keys
* @param criteria optional external criteria to use with resolver
- * @param EKresolver locates an EncryptedKey pertaining to the EncryptedData
+ * @param EKResolver locates an EncryptedKey pertaining to the EncryptedData
*/
Decrypter(
const xmltooling::CredentialResolver* credResolver=NULL,
/**
* Replace the current EncryptedKeyResolver interface, if any, with a new one.
*
- * @param EKresolver the EncryptedKeyResolver to attach
+ * @param EKResolver the EncryptedKeyResolver to attach
*/
void setEncryptedKeyResolver(const EncryptedKeyResolver* EKResolver) {
m_EKResolver=EKResolver;
~EncryptionParams() {}
+ /** Data encryption algorithm. */
const XMLCh* m_algorithm;
+
+ /** Buffer containing encryption key. */
const unsigned char* m_keyBuffer;
+
+ /** Size of buffer. */
unsigned int m_keyBufferSize;
+
+ /** Credential containing the encryption key. */
const xmltooling::Credential* m_credential;
+
+ /** Flag limiting the size of the encrypted XML representation. */
bool m_compact;
};
~KeyEncryptionParams() {}
+ /** Credential containing key encryption key. */
const xmltooling::Credential& m_credential;
+
+ /** Key transport or wrapping algorithm. */
const XMLCh* m_algorithm;
+
+ /** Name of recipient that owns the key encryption key. */
const XMLCh* m_recipient;
};