public function identifiesPKC(Certificate $cert): bool
    {
        $tbs = $cert->tbsCertificate();
        if (!$tbs->issuer()->equals($this->_issuer->firstDN())) {
            return false;
        }
        if (strval($tbs->serialNumber()) != strval($this->_serial)) {
            return false;
        }
        if ($this->_issuerUID && !$this->_checkUniqueID($cert)) {
            return false;
        }
        return true;
    }
public function identifiesPKC(Certificate $cert): bool
    {
        $tbs = $cert->tbsCertificate();
        if (!$tbs->issuer()->equals($this->_issuer->firstDN())) {
            return false;
        }
        if (strval($tbs->serialNumber()) != strval($this->_serial)) {
            return false;
        }
        if ($this->_issuerUID && !$this->_checkUniqueID($cert)) {
            return false;
        }
        return true;
    }
public function identifiesPKC ( Certificate $ cert ) : bool { $ tbs = $ cert -> tbsCertificate ( ) ; if ( ! $ tbs -> issuer ( ) -> equals ( $ this -> _issuer -> firstDN ( ) ) ) { return false ; } if ( strval ( $ tbs -> serialNumber ( ) ) != strval ( $ this -> _serial ) ) { return false ; } if ( $ this -> _issuerUID && ! $ this -> _checkUniqueID ( $ cert ) ) { return false ; } return true ; }
Check whether this IssuerSerial identifies given certificate.

@param Certificate $cert
@return boolean
Check whether this IssuerSerial identifies given certificate .