SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
O | O | O | O |
Public Functions | |
---|---|
Void |
Close(
SSLInfo* info
, SFXCallbackPtr callback
) Close the SSL session.
|
Void |
Negotiate(
SSLInfo* info
, SFBX509ChainSmpPtr certs
, SFXCallbackPtr callback
, ...
)
Progress SSL handshaking.
If a handshake has not started it starts it. If one is in progress it continues it.
If one has been established it reports the state of it in relation to what was requested.
|
Void |
NegotiateV(
SSLInfo * info
, SFBX509ChainSmpPtr certs
, SFXCallbackPtr callback
, WebOptPtr opts
) The function causes SSL handshaking to progress.
|
static SFBSSLSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBSSL instance.
|
static SFBSSLSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBSSL instance.
|
Void |
Renegotiate(
SSLInfo* info
, SFBX509ChainSmpPtr certs
, SFXCallbackPtr callback
, ...
)
Renegotiate is exactly the same except it will redo the negotiation if a connection is established.
Renegotiate is currently not supported.
|
Void |
RenegotiateV(
SSLInfo * info
, SFBX509ChainSmpPtr certs
, SFXCallbackPtr callback
, WebOptPtr opts
) The function causes SSL handshaking to progress.
|
Void |
SetSocket(
SFBSocketSmpConstRef socket
)
Set the socket open and connected to the SSL server.
|
SFCError |
AddOpt(
WebOptPtr opts
)
(inherits from SFBWebOpts)
Add the list of WebOpts to the current web option set.
|
SFCError |
GetOpt(
SInt32 id
, SInt32 index
, WebOptPtr opt
)
(inherits from SFBWebOpts)
Get a WebOpt in the list of WebOpts in SFBWebOpts instance matching OptId in.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
RemoveOpt(
SInt32 id
, SInt32 index
)
(inherits from SFBWebOpts)
Remove the nIndex'th WebOpt matching OptId.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] Void Close( SSLInfo* info // place to put the response structure SFXCallbackPtr callback // place to call back when SSL, suceeds, fails or needs help );
BREW API ISSL_Close | SSLInfo | SSLSecurityInfo | X509TrustResult
[ public ] Void Negotiate( SSLInfo* info // place to put the response structure SFBX509ChainSmpPtr certs // place to return cert chain SFXCallbackPtr callback // place to call back when SSL, suceeds, fails or needs help ... // the set of options against which negotiation is performed );
[ public ] Void NegotiateV( SSLInfo * info // place to put the response structure SFBX509ChainSmpPtr certs // place to return cert chain SFXCallbackPtr callback // place to call back when SSL, suceeds, fails or needs help WebOptPtr opts // the set of options against which negotiation is performed );
BREW API ISSL_NegotiateV | SSLInfo | SFBSSL::Negotiate | SFBSSL::Renegotiate | SFBSSL::RenegotiateV
[ public, static ] SFBSSLSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBSSLSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] Void Renegotiate( SSLInfo* info // place to put the response structure SFBX509ChainSmpPtr certs // place to return cert chain SFXCallbackPtr callback // place to call back when SSL, suceeds, fails or needs help ... // the set of options against which negotiation is performed );
[ public ] Void RenegotiateV( SSLInfo * info // place to put the response structure SFBX509ChainSmpPtr certs // place to return cert chain SFXCallbackPtr callback // place to call back when SSL, suceeds, fails or needs help WebOptPtr opts // the set of options against which negotiation is performed );
Renegotiate is exactly the same except it will redo the negotiation if a connection is established.
[ public ] Void SetSocket( SFBSocketSmpConstRef socket // pointer to open socket );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |