C# Class ZeroInstall.Publish.SignedCatalog

Afficher le fichier Open project: 0install/0install-win

Private Properties

Свойство Type Description
Load SignedCatalog

Méthodes publiques

Méthode Description
Save ( [ path, [ passphrase = null ) : void

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

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

SignedCatalog ( [ catalog, [ secretKey ) : System

Creates a new signed catalog.

Private Methods

Méthode Description
Load ( [ path ) : SignedCatalog

Method Details

Save() public méthode

Saves Catalog to an XML file, adds the default stylesheet and sign it it with SecretKey (if specified).
Writing and signing the catalog 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.
Résultat void

SignedCatalog() public méthode

Creates a new signed catalog.
public SignedCatalog ( [ catalog, [ secretKey ) : System
catalog [ The wrapped .
secretKey [ The secret key used to sign the ; null for no signature.
Résultat System