Nutrient Web SDK
    Preparing search index...

    Type Alias TrustedCAsCallback

    TrustedCAsCallback: () => Promise<(ArrayBuffer | string)[]>

    On Standalone, by implementing this callback you have a fine grained control over which certificates are going to be used for digital signatures validation.

    For more information, see Configuration#trustedCAsCallback

    Type Declaration

    Fetch and use custom set of certificates (Standalone)

    NutrientViewer.load({
    trustedCAsCallback: function() {
    return new Promise((resolve, reject) => {
    fetch("/your-certificate.cer")
    .then(res => res.arrayBuffer())
    .then(cert => resolve([cert]))
    .catch(reject)
    });
    },
    // ...
    });