addTrustAnchor

abstract suspend fun addTrustAnchor(anchorDid: String, metadata: TrustAnchorMetadata): Boolean

Adds a trust anchor to the registry.

Return

true if the anchor was added successfully, false if it already exists

Parameters

anchorDid

The DID of the trust anchor

metadata

Metadata about the trust anchor