Optional pre-built certificate + private-key provider. When supplied,
OPCUASecureObject.getCertificate() / .getCertificateChain() /
.getPrivateKey() delegate to this object verbatim, and the disk-backed
path (fs.existsSync + readCertificateChain + readPrivateKey) is
not used.
Intended for browser builds (bundled via esbuild) and test fixtures that
want to stage a cert+key pair without staging PKI folders on disk.
When present, certificateFile / privateKeyFile become optional and
may be omitted.
When absent, those two fields remain required strings and a
DiskCertificateKeyPairProvider is created automatically.
Optional pre-built certificate + private-key provider. When supplied,
OPCUASecureObject.getCertificate()/.getCertificateChain()/.getPrivateKey()delegate to this object verbatim, and the disk-backed path (fs.existsSync+readCertificateChain+readPrivateKey) is not used.Intended for browser builds (bundled via esbuild) and test fixtures that want to stage a cert+key pair without staging PKI folders on disk.
When present,
certificateFile/privateKeyFilebecome optional and may be omitted. When absent, those two fields remain required strings and a DiskCertificateKeyPairProvider is created automatically.