Skip to main content

Get trust anchor

Returns details on a trust anchor.

Related guide: Trust management

Function

getTrustAnchor(trustAnchorId: TrustAnchor["id"]): Promise<TrustAnchor>;

Parameters

  • anchorId - Specify the trust anchor.

Return value

export interface TrustAnchor {
id: string;
createdDate: string;
lastModified: string;
name: string;
type: string;
isPublisher: boolean;
publisherReference: string;
}
  • type - Possible values from the configuration.

  • isPublisher - (Boolean) Whether the system is the publisher of the trust anchor or a subscriber.

  • publisherReference - publication url of the trust anchor.