How does one set the PSK Shared Secret for PSK Ciphers in Secure Transport?
How does one set the PSK Shared Secret for PSK Ciphers in Secure Transport?
- Subject: How does one set the PSK Shared Secret for PSK Ciphers in Secure Transport?
- From: Hans Kröner <email@hidden>
- Date: Wed, 10 Jun 2015 10:31:35 +0000 (GMT)
Hello everyone,
I'm trying to use Secure Transport with BSD sockets and UDP to connect to an openSSL server that is using DTLS with a PSK Cipher (TLS_PSK_WITH_AES_256_CBC_SHA). I have not found a way to provide the PSK Shared Secret to Secure Transport. Looking around the sources for Secure Transport (http://www.opensource.apple.com/source/Security/Security-55471/libsecurity_ssl/lib/SecureTransportPriv.h) I have found a function, SSLSetPSKSharedSecret, that seems to do what I need. Unfortunately, the function is declared in a private header and I cannot call it from my sources. What is the correct way of setting the PSK Shared Secret using Secure Transport?
Thanks in advance for any help you might be able to provide.
Best Regards,
Hans
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden