How to use the node-opcua-certificate-manager.checkCertificateValidity function in node-opcua-certificate-manager

To help you get started, we’ve selected a few node-opcua-certificate-manager examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-secure-channel / source / server / server_secure_channel_layer.ts View on Github external
private async checkCertificate(certificate: Certificate | null): Promise {
        if (!certificate) {
            return StatusCodes.Good;
        }
        if (!this.certificateManager) {
            return checkCertificateValidity(certificate);
        }
        return await this.certificateManager.checkCertificate(certificate);
    }

node-opcua-certificate-manager

pure nodejs OPCUA SDK - module certificate-manager

MIT
Latest version published 7 days ago

Package Health Score

86 / 100
Full package analysis