X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..refs/heads/master:/OSX/libsecurity_ssl/lib/sslCrypto.h diff --git a/OSX/libsecurity_ssl/lib/sslCrypto.h b/OSX/libsecurity_ssl/lib/sslCrypto.h index 52fb833d..e4dd9e65 100644 --- a/OSX/libsecurity_ssl/lib/sslCrypto.h +++ b/OSX/libsecurity_ssl/lib/sslCrypto.h @@ -42,31 +42,17 @@ extern void stPrintCdsaError(const char *op, OSStatus crtn); #define stPrintCdsaError(o, cr) #endif -/* - * Get algorithm id for a SSLPubKey object. - */ -CFIndex sslPubKeyGetAlgorithmID(SecKeyRef pubKey); - -/* - * Get algorithm id for a SSLPrivKey object. - */ -CFIndex sslPrivKeyGetAlgorithmID(SecKeyRef privKey); - /* * Create a new SecTrust object and return it. */ OSStatus sslCreateSecTrust( SSLContext *ctx, - CFArrayRef certChain, SecTrustRef *trust); /* RETURNED */ OSStatus sslVerifySelectedCipher( SSLContext *ctx); -/* Convert DER certs to SecCertificateRefs */ -CFArrayRef tls_get_peer_certs(const SSLCertificate *certs); - /* * Set the pubkey after receiving the certificate */