Wan-Teh Chang wrote:
> Rob Crittenden wrote:
>> I've got a couple of API questions. I'm not sure if these are available
>> or not:
>>
>> 1. Can I get the numeric value of the cipher that has been negotiated
>> instead of just the character value (e.g. from SSL_SecurityStatus())?
>
> SSL_SecurityStatus is deprecated.  Call the new function
> SSL_GetChannelInfo instead.  The SSLChannelInfo structure it fills in
> has a "PRUint16 cipherSuite" field.

And if you want to break down the components of the cipher suite, such
as bulk cipher, MAC type, KEA type, etc., call  SSL_GetCipherSuiteInfo.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to