Méthode | Description | |
---|---|---|
DeployStylesheet ( [ path, [ name ) : void |
Writes an XSL stylesheet with its accompanying CSS file unless there is already an XSL in place.
|
|
SignFeed ( [ stream, [ secretKey, [ passphrase, [ openPgp ) : void |
Adds a Base64 signature to a feed or catalog stream. The file is not parsed before signing; invalid XML files are signed as well. The existing file must end with a line break. Old signatures are not removed. |
Méthode | Description | |
---|---|---|
GetKey ( [ path, [ openPgp ) : OpenPgpSecretKey |
public static DeployStylesheet ( [ path, [ name ) : void | ||
path | [ | The directory to write the stylesheet files to. |
name | [ | The name of the stylesheet to deploy. Must be "feed" or "catalog". |
Résultat | void |
public static SignFeed ( [ stream, [ secretKey, [ passphrase, [ openPgp ) : void | ||
stream | [ | The feed or catalog to sign. |
secretKey | [ | The secret key to use for signing the file. |
passphrase | [ | The passphrase to use to unlock the key. |
openPgp | [ | The OpenPGP-compatible system used to create signatures. |
Résultat | void |