Skip to content

Commit

Permalink
Update reference.md
Browse files Browse the repository at this point in the history
mandatory raw sig params explained
  • Loading branch information
stefan-wenig committed Jan 17, 2025
1 parent 878c548 commit 48da0ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/documentation/artifact-configuration/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,14 @@ Use cases for raw signatures include:
The `create-raw-signature` directive supports the following parameters:

| Parameter | Default value | Values | Description
| Parameter | Default value | Values | Description
|--------------------|---------------------------|------------------------------|-------------------------------------------------
| `output-file-name` | (mandatory) | | Name of the output file containing the signature. Use `${file.name}` to reference the source file name.
| `hash-algorithm` | (mandatory)) | `sha256`, `sha384`, `sha512` | Hash algorithm used to create the signature.
| `hash-algorithm` | (mandatory) | `sha256`, `sha384`, `sha512` | Hash algorithm used to create the signature.
| `rsa-padding` | (mandatory for RSA keys) | `pkcs1`, `pss` | Padding algorithm (supported only when using RSA keys).

(All cryptographic parameters are mandatory because raw signatures contain no metadata for agnostic verification.)

#### Raw signature example

~~~ xml
Expand Down

0 comments on commit 48da0ed

Please sign in to comment.