1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-22 19:08:00 +01:00

Remove notice about armor's label() option

This commit is contained in:
Paul Schaub 2024-03-30 19:06:42 +01:00
parent 32d62c6610
commit eeb5986890
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -180,14 +180,6 @@ byte[] armoredData = sop.armor()
The `data(_)` method can either be called by providing a byte array, or an `InputStream`.
:::{note}
There is a `label(ArmorLabel label)` method, which could theoretically be used to define the label used in the
ASCII armor header.
However, this method is not (yet?) supported by `pgpainless-sop` and will currently throw an `UnsupportedOption`
exception.
Instead, the implementation will figure out the data type and set the respective label on its own.
:::
To remove ASCII armor from armored data, simply use the `dearmor()` API:
```java