C# Класс ZeroInstall.Publish.SignedFeed

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Load SignedFeed

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

Метод Описание
Save ( [ path, [ passphrase = null ) : void

Saves Feed to an XML file, adds the default stylesheet and sign it it with SecretKey (if specified).

Writing and signing the feed file are performed as an atomic operation (i.e. if signing fails an existing file remains unchanged).

SignedFeed ( [ feed, [ secretKey = null ) : System

Creates a new signed feed.

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

Метод Описание
Load ( [ path ) : SignedFeed

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

Save() публичный Метод

Saves Feed to an XML file, adds the default stylesheet and sign it it with SecretKey (if specified).
Writing and signing the feed file are performed as an atomic operation (i.e. if signing fails an existing file remains unchanged).
A problem occurs while writing the file. Write access to the file is not permitted. The specified could not be found on the system. was incorrect.
public Save ( [ path, [ passphrase = null ) : void
path [ The file to save in.
passphrase [ The passphrase to use to unlock the secret key; can be null if is null.
Результат void

SignedFeed() публичный Метод

Creates a new signed feed.
public SignedFeed ( [ feed, [ secretKey = null ) : System
feed [ The wrapped .
secretKey [ The secret key used to sign the ; null for no signature.
Результат System