X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/ce3c8656732c924baf7e88df75eab50891bdc471..fa7225c82381bac4432a6edf16f53b5370238d85:/sslViewer/sslAppUtils.h diff --git a/sslViewer/sslAppUtils.h b/sslViewer/sslAppUtils.h index 65361483..36ae1e1a 100644 --- a/sslViewer/sslAppUtils.h +++ b/sslViewer/sslAppUtils.h @@ -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