Skip to content
LogoLogo

addTrustedAlgorithms

Pin specific algorithms as trusted.

nautilus resolves each algorithm's container and file checksums from its published DDO at publish time, so a publisher cannot swap the container out from under you afterwards.

Usage

.([ 
  { : 'did:ope:926098d069b017dcf3736370f3c3d77e6046ca6622af111229accf5f9c83e308' }, 
  { 
    : 'did:ope:475698d069b017dcf3736370f3c3d77e6046ca6622af111229accf5f9c83e308', 
    : ['service-a', 'service-b'] 
  } 
]) 

Returns

The service builder instance, to chain further calls with.