security: Add BlockCipher in transformation
Change-Id: I2c09509acd69e7f9270ef8c9b6e5e16ede2a8042
Refs: #3009
diff --git a/src/security/security-common.cpp b/src/security/security-common.cpp
index 0f8714d..0ea60cb 100644
--- a/src/security/security-common.cpp
+++ b/src/security/security-common.cpp
@@ -105,6 +105,23 @@
}
std::ostream&
+operator<<(std::ostream& os, CipherOperator op)
+{
+ switch (op) {
+ case CipherOperator::DECRYPT:
+ os << "DECRYPT";
+ break;
+ case CipherOperator::ENCRYPT:
+ os << "ENCRYPT";
+ break;
+ default:
+ os << static_cast<int>(op);
+ break;
+ };
+ return os;
+}
+
+std::ostream&
operator<<(std::ostream& os, AclType aclType)
{
switch (aclType) {