IBackgroundCopyJobHttpOptions interface

Use this interface to specify client certificates for certificate-based client authentication and custom headers for HTTP requests.

To get this interface, call the IBackgroundCopyJob::QueryInterface method using __uuidof(IBackgroundCopyJobHttpOptions) for the interface identifier.

Methods

The IBackgroundCopyJobHttpOptions interface has these methods.

Method Description
IBackgroundCopyJobHttpOptions::GetClientCertificate Retrieves the client certificate from the job.
IBackgroundCopyJobHttpOptions::GetCustomHeaders Retrieves the custom headers set by an earlier call to IBackgroundCopyJobHttpOptions::SetCustomHeaders (that is, headers which BITS will be sending to the remote, not headers which BITS receives from the remote).
IBackgroundCopyJobHttpOptions::GetSecurityFlags Retrieves the flags for HTTP that determine whether the certificate revocation list is checked and certain certificate errors are ignored, and the policy to use when a server redirects the HTTP request.
IBackgroundCopyJobHttpOptions::RemoveClientCertificate Removes the client certificate from the job.
IBackgroundCopyJobHttpOptions::SetClientCertificateByID Specifies the identifier of the client certificate to use for client authentication in an HTTPS (SSL) request.
IBackgroundCopyJobHttpOptions::SetClientCertificateByName Specifies the subject name of the client certificate to use for client authentication in an HTTPS (SSL) request.
IBackgroundCopyJobHttpOptions::SetCustomHeaders Specifies one or more custom HTTP headers to include in HTTP requests.
IBackgroundCopyJobHttpOptions::SetSecurityFlags Sets flags for HTTP that determine whether the certificate revocation list is checked and certain certificate errors are ignored, and the policy to use when a server redirects the HTTP request.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header bits2_5.h (include Bits.h)

See Also

IBackgroundCopyJob