NodeOPCUA API Documentation
    Preparing search index...

    Interface ICertificateChainProvider

    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.

    interface ICertificateChainProvider {
        getCertificate(): DER;
        getCertificateChain(): DER[];
        getPrivateKey(): PrivateKey;
        invalidate(): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    • The raw private key. Kept for compatibility — new code should prefer ICertificateKeyPairProvider2.getKeyOperations (via getKeyOperationsFromProvider), which works whether the key is local or HSM/KMS-held; an opaque provider implements this method by throwing PrivateKeyUnavailableError.

      Returns PrivateKey

    • Invalidate any cached values so the next access re-reads from the underlying source. No-op for static providers.

      Returns void