• create a cert manager

    Returns ManagerCert

    Example

    import * as crypto from 'crypto';

    let mng = crypto.newCertManager();

    let [validationTime, issuedOrganization, belongChain] = mng.verifyCertificate(publicCert, [rootCert, middleCert]);
    let publicKey = mng.getPKIXPublicKey(publicCert);