]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_ssl/lib/sslCrypto.h
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_ssl / lib / sslCrypto.h
index 52fb833dfd0130fd9f46f45d5569982169946ee7..e4dd9e65d3320e085f1b236307b4bf77b0ffe9bf 100644 (file)
@@ -42,31 +42,17 @@ extern void stPrintCdsaError(const char *op, OSStatus crtn);
 #define stPrintCdsaError(o, cr)
 #endif
 
 #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,
 /*
  * Create a new SecTrust object and return it.
  */
 OSStatus
 sslCreateSecTrust(
        SSLContext                              *ctx,
-       CFArrayRef                              certChain,
     SecTrustRef             *trust);   /* RETURNED */
 
 OSStatus sslVerifySelectedCipher(
        SSLContext              *ctx);
 
     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
  */
 /*
  * Set the pubkey after receiving the certificate
  */