Record: ClientSecureSocket

Configurations for facilitating secure communication with a remote gRPC endpoint.

Closed record

Fields

  • enable boolean(default true)
  • Enable SSL validation

  • cert TrustStore | string?
  • Configurations associated with the crypto:TrustStore or a single certificate file that the client trusts

  • key KeyStore | CertKey?
  • Configurations associated with crypto:KeyStore or combination of certificate and private key of the client

  • protocol record {| Protocol name; string[] versions = []; |} ?
  • SSL/TLS protocol related options

  • certValidation record {| CertValidationType 'type = OCSP_STAPLING; int cacheSize; int cacheValidityPeriod; |} ?
  • Certificate validation against OCSP_CRL, OCSP_STAPLING related options

  • ciphers string[ ]?
  • List of ciphers to be used eg: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

  • verifyHostName boolean(default true)
  • Enable/disable host name verification

  • shareSession boolean(default true)
  • Enable/disable new SSL session creation

  • handshakeTimeout decimal?
  • SSL handshake time out(in seconds)

  • sessionTimeout decimal?
  • SSL session time out(in seconds)