...
Cancels any pending “Async” requests. Note that, prior to and during this method call, events associated with an asynchronous action may be queued. No more events will be queued once this call returns. We recommend collecting any pending events prior to calling any further “Async” methods on the same object to avoid confusion.
EnablePeerVerification(verification As Boolean)
...
As Boolean
Enables checking of TLS/SSL certificates. This method is set to true
by default. Disabling peer verficiation allows you to bypass an expired certificate check.
EnableHostVerification(verification As Boolean)
...
As Boolean
Enables checking of the TLS/SSL certificate for the correct hostname. This method is set to true
by default. Disabling host verification allows you to accept a certificate being sent for the wrong hostname.
Warning | ||
---|---|---|
| ||
Peer verficiation and host verification are important security checks that prevent "man-in-the-middle" attacks. These features should only be disabled after careful consideration of the security implications. |
SetCertificatesFile(filename As String)
...
As Boolean
Configures an alternative set of CA certificates for the connection. This method is useful if the connection certificates are signed by a CA that is not on the the default trusted list (for example, if your organization uses a private CA hierarchy that is not signed by a well known root CA). This method replaces the default list, so the passed certificate file must contain all acceptable CA certificates required for the connection.
AddHeader(name As String, value As String) As Boolean
Specifies a header that will be passed to HTTP requests made by the roAssetFetcher object. A particular download will not include the header if it has the <headers inherit=”no”> attribute in the sync spec.
...