Zero Install .NET API 2.20.0
ZeroInstall.Services.Feeds.TrustManager Class Reference

Methods for verifying signatures and user trust. More...

Inheritance diagram for ZeroInstall.Services.Feeds.TrustManager:
ZeroInstall.Services.Feeds.ITrustManager

Public Member Functions

ValidSignature CheckTrust (byte[] data, FeedUri uri, string? localPath=null)
 Checks whether a remote feed or catalog file has a a valid and trusted signature. Downloads missing GPG keys for verification and interactively asks the user to approve new keys. More...
 

Detailed Description

Methods for verifying signatures and user trust.

This class is immutable and thread-safe.

Member Function Documentation

◆ CheckTrust()

ValidSignature ZeroInstall.Services.Feeds.TrustManager.CheckTrust ( byte[]  data,
FeedUri  uri,
string?  localPath = null 
)
inline

Checks whether a remote feed or catalog file has a a valid and trusted signature. Downloads missing GPG keys for verification and interactively asks the user to approve new keys.

Implements ZeroInstall.Services.Feeds.ITrustManager.


The documentation for this class was generated from the following file: