create a cert manager
import * as crypto from 'crypto';let mng = crypto.newCertManager();let [validationTime, issuedOrganization, belongChain] = mng.verifyCertificate(publicCert, [rootCert, middleCert]);let publicKey = mng.getPKIXPublicKey(publicCert); Copy
import * as crypto from 'crypto';let mng = crypto.newCertManager();let [validationTime, issuedOrganization, belongChain] = mng.verifyCertificate(publicCert, [rootCert, middleCert]);let publicKey = mng.getPKIXPublicKey(publicCert);
create a cert manager