mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-10 06:11:08 +01:00
Avoid deprecated methods
This commit is contained in:
parent
27370fa925
commit
845779d40b
2 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ public class OpenPgpMetadata {
|
|||
Map<OpenPgpV4Fingerprint, PGPSignature> verifiedSignatures = new ConcurrentHashMap<>();
|
||||
for (DetachedSignature detachedSignature : detachedSignatures) {
|
||||
if (detachedSignature.isVerified()) {
|
||||
verifiedSignatures.put(detachedSignature.getFingerprint(), detachedSignature.getSignature());
|
||||
verifiedSignatures.put(detachedSignature.getSigningKeyIdentifier().getSubkeyFingerprint(), detachedSignature.getSignature());
|
||||
}
|
||||
}
|
||||
for (OnePassSignature onePassSignature : onePassSignatures) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue