tz-backend: Implement asymmetric operations
[platform/core/security/key-manager.git] / src / manager / common / data-type.h
index ba3c4fd..014869f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2000 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *  Copyright (c) 2000 - 2019 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -70,7 +70,6 @@ public:
        DataType(Type data);
        explicit DataType(int data);
        explicit DataType(KeyType key);
-       explicit DataType(AlgoType algorithmType);
        DataType(const DataType &) = default;
        DataType &operator=(const DataType &) = default;
 
@@ -85,6 +84,7 @@ public:
        bool isKeyPublic() const;
        bool isCertificate() const;
        bool isBinaryData() const;
+       bool isEllipticCurve() const;
 
        static bool isInRange(int data);
        static DataType getChainDatatype(unsigned int index);