/home/techb158/immovalet.com/vendor/google/auth/src
NameSizeModeActions
Cache/-0755rm
Credentials/-0755rm
HttpHandler/-0755rm
Middleware/-0755rm
Subscriber/-0755rm
AccessToken.php176530644editdlrm
ApplicationDefaultCredentials.php120500644editdlrm
CacheTrait.php21660644editdlrm
CredentialsLoader.php79770644editdlrm
FetchAuthTokenCache.php85850644editdlrm
FetchAuthTokenInterface.php16440644editdlrm
GCECache.php24870644editdlrm
GetQuotaProjectInterface.php9470644editdlrm
Iam.php31150644editdlrm
OAuth2.php372050644editdlrm
ProjectIdProviderInterface.php9620644editdlrm
ServiceAccountSignerTrait.php18440644editdlrm
SignBlobInterface.php15310644editdlrm
UpdateMetadataInterface.php12310644editdlrm
Edit: /home/techb158/immovalet.com/vendor/google/auth/src/ServiceAccountSignerTrait.php (1844B)
auth->getSigningKey(); $signedString = ''; if (class_exists('\\phpseclib\\Crypt\\RSA') && !$forceOpenssl) { $rsa = new RSA; $rsa->loadKey($privateKey); $rsa->setSignatureMode(RSA::SIGNATURE_PKCS1); $rsa->setHash('sha256'); $signedString = $rsa->sign($stringToSign); } elseif (extension_loaded('openssl')) { openssl_sign($stringToSign, $signedString, $privateKey, 'sha256WithRSAEncryption'); } else { // @codeCoverageIgnoreStart throw new \RuntimeException('OpenSSL is not installed.'); } // @codeCoverageIgnoreEnd return base64_encode($signedString); } }