]> git.saurik.com Git - apple/security.git/blobdiff - sslViewer/sslAppUtils.h
Security-57740.1.18.tar.gz
[apple/security.git] / sslViewer / sslAppUtils.h
index 6536148391721def1d427d18be6b461cca582dc0..36ae1e1a8caaa3a85d2c1629851e6049996a00f8 100644 (file)
@@ -159,6 +159,9 @@ int sslCheckFile(const char *path);
 extern const char *sslCurveString(
        SSL_ECDSA_NamedCurve namedCurve);
 
+SecKeyRef create_private_key_from_der(bool ecdsa, const unsigned char *pkey_der, size_t pkey_der_len);
+CFArrayRef chain_from_der(bool ecdsa, const unsigned char *pkey_der, size_t pkey_der_len, const unsigned char *cert_der, size_t cert_der_len);
+
 #ifdef __cplusplus
 }
 #endif