GRPC PHP  1.66.0
Static Public Member Functions
Grpc\ServerCredentials Class Reference

class ServerCredentials More...

Static Public Member Functions

static createSsl ($pem_root_certs, $pem_private_key, $pem_cert_chain)
 Create SSL credentials. More...
 

Detailed Description

class ServerCredentials

See also
https://github.com/grpc/grpc/tree/master/src/php/ext/grpc/server_credentials.c

Member Function Documentation

◆ createSsl()

static Grpc\ServerCredentials::createSsl (   $pem_root_certs,
  $pem_private_key,
  $pem_cert_chain 
)
static

Create SSL credentials.

Parameters
string$pem_root_certsPEM encoding of the server root certificates
string$pem_private_keyPEM encoding of the client's private key
string$pem_cert_chainPEM encoding of the client's certificate chain
Returns
Credentials The new SSL credentials object

The documentation for this class was generated from the following file: