mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 13:52:06 +01:00
Remove notice about armor's label() option
This commit is contained in:
parent
32d62c6610
commit
eeb5986890
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue