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.
Perfect. > >> 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. Bummer. Would pushing on a layer to store this kind of stuff in fd->secret be overkill? I have some per-connection information I need to store. thanks rob _______________________________________________ dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

