Zero Install .NET API 2.20.0
ZeroInstall.Store.Feeds.FeedUtils Class Reference

Provides utility methods for managing Feeds. More...

Static Public Member Functions

static IEnumerable< OpenPgpSignatureGetSignatures (IOpenPgp openPgp, byte[] feedData)
 Determines which signatures a feed is signed with. More...
 

Static Public Attributes

const string SignatureBlockStart = "<!-- Base64 Signature\n"
 The string signifying the start of a signature block.
 
const string SignatureBlockEnd = "\n-->\n"
 The string signifying the end of a signature block.
 

Detailed Description

Provides utility methods for managing Feeds.

Member Function Documentation

◆ GetSignatures()

static IEnumerable< OpenPgpSignature > ZeroInstall.Store.Feeds.FeedUtils.GetSignatures ( IOpenPgp  openPgp,
byte[]  feedData 
)
inlinestatic

Determines which signatures a feed is signed with.

Parameters
openPgpThe OpenPGP-compatible system used to validate the signatures.
feedDataThe feed data containing an embedded signature.
Returns
A list of signatures found, both valid and invalid.
Exceptions
SignatureExceptionThere is no valid signature data embedded in the feedData .

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