VirtualBox

Changeset 88124 in vbox for trunk/include/iprt/cpp


Ignore:
Timestamp:
Mar 15, 2021 5:46:52 PM (4 years ago)
Author:
vboxsync
Message:

OCI/PCA: bugref:9969 - Make it possible to specify the CA file for the
REST API calls. If "cert_bundle" profile parameter is not empty, use it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/restclient.h

    r86681 r88124  
    719719    /** @} */
    720720
     721    /**
     722     * Sets the CA file to use for HTTPS.
     723     */
     724    int setCAFile(const char *pcszCAFile) RT_NOEXCEPT;
     725    /** @overload */
     726    int setCAFile(const RTCString &strCAFile) RT_NOEXCEPT;
     727
    721728    /** Flags to doCall. */
    722729    enum
     
    731738    /** The server URL to use.  If empty use the default. */
    732739    RTCString m_strServerUrl;
     740    /** The CA file to use.  If empty use the default. */
     741    RTCString m_strCAFile;
    733742
    734743    /* Make non-copyable (RTCNonCopyable causes warnings): */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette