NodeOPCUA API Documentation
    Preparing search index...

    Class ResolvedCertificateKeyPairProvider

    Provides a certificate chain and private key to an OPC UA endpoint.

    Implementations may read from memory, disk, or any other source. See also DiskCertificateKeyPairProvider which implements this interface for disk-based access with lazy caching.

    Implements

    Index
    • Parameters

      • certificateFile: string
      • privateKeyFile: string
      • privateKey: PrivateKey

      Returns ResolvedCertificateKeyPairProvider

    • get privateKeyFile(): string

      Real path of the private key file (needed by push-management, even though the key itself is held in memory).

      Returns string

    • Re-reads the certificate chain from disk on next access. The in-memory private key is untouched — construct a new provider to rotate the key (see class doc).

      Returns void

    • Returns Record<string, string>