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.

> 2. If I call PR_Shutdown() on an SSL socket, is there a way later to see 
> the flags I called it with? For example, if I call it just with 
> PR_SHUTDOWN_SEND is there a way I can find that out later?

I don't think so.

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to