Re: API questions

2007-04-12 Thread Wan-Teh Chang
Rob Crittenden wrote: > > I ended up going with a layer that doesn't define any methods. Seems to > be working ok. I originally assumed the order of the layers and would do > things like: mydata = ssl->lower->secret but later changed it to fetch > the layer by name and retrieve the data directly

Re: API questions

2007-04-12 Thread Rob Crittenden
Wan-Teh Chang wrote: > Rob Crittenden wrote: >> Wan-Teh Chang wrote: >>> Rob Crittenden wrote: 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 ou

Re: API questions

2007-04-10 Thread Wan-Teh Chang
Rob Crittenden wrote: > Wan-Teh Chang wrote: >> Rob Crittenden wrote: >>> 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

Re: API questions

2007-04-10 Thread Rob Crittenden
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_Security

Re: API questions

2007-04-10 Thread Nelson Bolyard
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_SecuritySta

Re: API questions

2007-04-10 Thread Wan-Teh Chang
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