mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Remove ImplementationFactory in favor of BCs OpenPGPImplementation
This commit is contained in:
parent
0bc80d86d3
commit
76963ec3ec
48 changed files with 303 additions and 550 deletions
|
@ -86,6 +86,12 @@ Consequently, `KeyIdentifier` is now also the preferred way to reference keys in
|
|||
previously a key-id or fingerprint was expected, now also accept `KeyIdentifier` objects.
|
||||
In places, where you need to access a 64-bit key-id, you can call `keyIdentifier.getKeyId()`.
|
||||
|
||||
## `SecretKeyRingProtector`
|
||||
|
||||
When an OpenPGP v6 key is encrypted, the public key parts are incorporated as authenticated data into the encryption
|
||||
process. Therefore, when instantiating a `PBESecretKeyEncryptor`, the public key needs to be passed in.
|
||||
As a consequence, the API of `SecretKeyRingProtector` changed and now a `PGPPublicKey` needs to be passed in,
|
||||
instead of merely a key-id or `KeyIdentifier`.
|
||||
|
||||
## Differences between BCs high-level API and PGPainless
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue