checkIssued equivalent that's supported in a worker

Hello, I am trying to verify a x5c certificate chain that’s coming from Apple.
Usually I would use node’s crypto checkIssued to verify it:

if (!leafCertification.checkIssued(intermediateCertification)
	|| !intermediateCertification.checkIssued(rootCertification)) {
	return false;
}

this is how I currently get the x5c:

type or paste code here
`const {x5c} = decodeProtectedHeader(signedPayload);`

how do I progress from here?