File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
setSSLCertificate
— Encrypt the Curl request using a SSL certificate and key pair
Name | Description |
---|---|
$dirSSLCertificate | n/a |
$dirSSLKey | n/a |
[$strCertificateType = 'PEM'] | n/a |
[$strKeyType = 'PEM'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirSSLCertificate = '/home/user/public_html/twist';
$dirSSLKey = '/home/user/public_html/twist';
$strCertificateType = 'PEM';
$strKeyType = 'PEM';
//Call the function setSSLCertificate with the example vars
Twist::Curl() -> setSSLCertificate($dirSSLCertificate, $dirSSLKey, $strCertificateType, $strKeyType);