private function _checkIssuer(ValidatorState $state, Certificate $cert)
    {
        if (!$cert->tbsCertificate()
            ->issuer()
            ->equals($state->workingIssuerName())) {
            throw new PathValidationException("Certification issuer mismatch.");
        }
    }
private function _checkIssuer(ValidatorState $state, Certificate $cert)
    {
        if (!$cert->tbsCertificate()
            ->issuer()
            ->equals($state->workingIssuerName())) {
            throw new PathValidationException("Certification issuer mismatch.");
        }
    }
private function _checkIssuer ( ValidatorState $ state , Certificate $ cert ) { if ( ! $ cert -> tbsCertificate ( ) -> issuer ( ) -> equals ( $ state -> workingIssuerName ( ) ) ) { throw new PathValidationException ( "Certification issuer mismatch." ) ; } }
Check certificate issuer.

@param ValidatorState $state
@param Certificate $cert
@throws PathValidationException
Check certificate issuer .