Function verifyServerCertificateChain

  • Verify the server certificate chain when connecting to it from a client This is a custom verification intended to verify that the server owned the relevant NodeId. It is possible that the server has a new NodeId. In that case we will verify that the new NodeId is the true descendant of the target NodeId.

    Parameters

    • nodeIds: NodeId[]
    • certs: Uint8Array[]

    Returns Promise<{
        nodeId: NodeId;
        result: "success";
    } | {
        result: "fail";
        value: CryptoError;
    }>

Generated using TypeDoc