[cpp-xmltooling] 01/02: Remove nested reference to enum.
Scott Cantor
cantor.2 at osu.edu
Tue May 1 23:00:45 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=8c38faaa8e3921aa257cbbd8b15dd306e741cf87
commit 8c38faaa8e3921aa257cbbd8b15dd306e741cf87
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue May 1 23:00:26 2018 -0400
Remove nested reference to enum.
---
xmltooling/security/impl/DataSealer.cpp | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/xmltooling/security/impl/DataSealer.cpp b/xmltooling/security/impl/DataSealer.cpp
index 17eef55..f6f36ea 100644
--- a/xmltooling/security/impl/DataSealer.cpp
+++ b/xmltooling/security/impl/DataSealer.cpp
@@ -19,10 +19,9 @@
*/
/**
- * URLEncoder.cpp
+ * DataSealer.cpp
*
- * Interface to a URL-encoding mechanism along with a
- * default implementation.
+ * Generic data protection interface.
*/
#include "internal.h"
@@ -91,15 +90,15 @@ string DataSealer::wrap(const char* s, time_t exp) const
const XMLCh* algorithm = nullptr;
switch (defaultKey.second->getSymmetricKeyType()) {
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_128:
+ case XSECCryptoSymmetricKey::KEY_AES_128:
algorithm = DSIGConstants::s_unicodeStrURIAES128_GCM;
break;
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_192:
+ case XSECCryptoSymmetricKey::KEY_AES_192:
algorithm = DSIGConstants::s_unicodeStrURIAES192_GCM;
break;
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_256:
+ case XSECCryptoSymmetricKey::KEY_AES_256:
algorithm = DSIGConstants::s_unicodeStrURIAES256_GCM;
break;
@@ -196,15 +195,15 @@ string DataSealer::unwrap(const char* s) const
const XMLCh* algorithm = nullptr;
switch (requiredKey.second->getSymmetricKeyType()) {
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_128:
+ case XSECCryptoSymmetricKey::KEY_AES_128:
algorithm = DSIGConstants::s_unicodeStrURIAES128_GCM;
break;
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_192:
+ case XSECCryptoSymmetricKey::KEY_AES_192:
algorithm = DSIGConstants::s_unicodeStrURIAES192_GCM;
break;
- case XSECCryptoSymmetricKey::SymmetricKeyType::KEY_AES_256:
+ case XSECCryptoSymmetricKey::KEY_AES_256:
algorithm = DSIGConstants::s_unicodeStrURIAES256_GCM;
break;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list