# Method SSL.Session()->is_supported_cert()

Method is_supported_cert

  ``protected` `bool` is_supported_cert(`CertificatePair` `cp`, `int` `ke_mask`, `int` `h_max`, `ProtocolVersion` `version`, `array`(`int`) `ecc_curves`)`

Description

  Used to filter certificates not supported by the peer.

Parameter `cp`

  Candidate CertificatePair.

Parameter `version`

  Negotiated version of SSL.

Parameter `ecc_curves`

  The set of ecc_curves supported by the peer.