private function checkSignatures(Object\JWSInterface $jws) { Assertion::greaterThan($jws->countSignatures(), 0, 'The JWS does not contain any signature.'); }