C# Класс ZeroInstall.Store.Feeds.FeedUtils

Provides utility methods for managing Feeds.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Encoding System.Text.Encoding

Открытые методы

Метод Описание
GetSignatures ( [ openPgp, [ feedData ) : IEnumerable

Determines which signatures a feed is signed with.

Приватные методы

Метод Описание
GetSignatureStartIndex ( byte feedData ) : int

Finds the point in a data array where the signature block starts.

IsolateAndDecodeSignature ( byte feedData, int signatureStartIndex ) : byte[]

Isolates and decodes the Base64-econded signature.

IsolateFeed ( byte feedData, int signatureStartIndex ) : byte[]

Isolates the actual feed from the signature block.

Описание методов

GetSignatures() публичный статический Метод

Determines which signatures a feed is signed with.
There is no valid signature data embedded in the .
public static GetSignatures ( [ openPgp, [ feedData ) : IEnumerable
openPgp [ The OpenPGP-compatible system used to validate the signatures.
feedData [ The feed data containing an embedded signature.
Результат IEnumerable

Описание свойств

Encoding публичное статическое свойство

The encoding used when looking for signature blocks in feed files.
public static Encoding,System.Text Encoding
Результат System.Text.Encoding