Remove unused KEY_FORMAT_PUBLIC_OPENSSL and OSXPrivateKeyStorage::getFormat.
diff --git a/include/ndn-cpp/security/identity/osx-private-key-storage.hpp b/include/ndn-cpp/security/identity/osx-private-key-storage.hpp
index 2e1c977..f860a3c 100644
--- a/include/ndn-cpp/security/identity/osx-private-key-storage.hpp
+++ b/include/ndn-cpp/security/identity/osx-private-key-storage.hpp
@@ -178,14 +178,6 @@
   getDigestAlgorithm(DigestAlgorithm digestAlgo);
 
   /**
-   * convert format to MAC OS key format
-   * @param format
-   * @returns MAC OS keyformat
-   */
-  SecExternalFormat 
-  getFormat(KeyFormat format);
-
-  /**
    * get the digest size of the corresponding algorithm
    * @param digestAlgo the digest algorithm
    * @return digest size
diff --git a/include/ndn-cpp/security/security-common.hpp b/include/ndn-cpp/security/security-common.hpp
index 76fc849..9ce4599 100644
--- a/include/ndn-cpp/security/security-common.hpp
+++ b/include/ndn-cpp/security/security-common.hpp
@@ -25,10 +25,6 @@
   KEY_CLASS_SYMMETRIC
 };
   
-enum KeyFormat {
-  KEY_FORMAT_PUBLIC_OPENSSL,
-};
-
 enum DigestAlgorithm {
   // DIGEST_ALGORITHM_MD2,
   // DIGEST_ALGORITHM_MD5,
diff --git a/src/security/identity/osx-private-key-storage.cpp b/src/security/identity/osx-private-key-storage.cpp
index f4fac6c..aa6b7b8 100644
--- a/src/security/identity/osx-private-key-storage.cpp
+++ b/src/security/identity/osx-private-key-storage.cpp
@@ -467,17 +467,6 @@
     }
   }
 
-  SecExternalFormat OSXPrivateKeyStorage::getFormat(KeyFormat format)
-  {
-    switch(format){
-    case KEY_FORMAT_PUBLIC_OPENSSL:
-      return kSecFormatOpenSSL;
-    default:
-      _LOG_DEBUG("Unrecognized output format!");
-      return 0;
-    }
-  }
-
   const CFStringRef OSXPrivateKeyStorage::getDigestAlgorithm(DigestAlgorithm digestAlgo)
   {
     switch(digestAlgo){