mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-09-27 18:19:34 +02:00
Remove SignatureCheck.getFingerprint() in favor of getSigningKeyIdentifier()
This commit is contained in:
parent
4dac07811a
commit
4888cb5e42
|
@ -12,6 +12,7 @@ SPDX-License-Identifier: CC0-1.0
|
|||
- Encryption: Allow anonymous recipients using wildcard key-IDs
|
||||
- Add `SignatureSubpacketsUtil.getRegularExpressions()`
|
||||
- Remove `SecretKeyRingProtector.unlockAllKeysWith()` in favor of `unlockAnyKeyWith()`
|
||||
- Remove `SignatureCheck.getFingerprint()` in favor of `getSigningKeyIdentifier()`
|
||||
- Tests, tests, tests
|
||||
|
||||
## 1.5.3
|
||||
|
|
|
@ -6,7 +6,6 @@ package org.pgpainless.signature.consumer;
|
|||
|
||||
import org.bouncycastle.openpgp.PGPKeyRing;
|
||||
import org.bouncycastle.openpgp.PGPSignature;
|
||||
import org.pgpainless.key.OpenPgpFingerprint;
|
||||
import org.pgpainless.key.SubkeyIdentifier;
|
||||
|
||||
/**
|
||||
|
@ -58,16 +57,4 @@ public class SignatureCheck {
|
|||
return signingKeyRing;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the {@link OpenPgpFingerprint} of the key that created the signature.
|
||||
*
|
||||
* @return fingerprint of the signing key
|
||||
* @deprecated use {@link #getSigningKeyIdentifier()} instead.
|
||||
*
|
||||
* TODO: Remove in 1.2.X
|
||||
*/
|
||||
@Deprecated
|
||||
public OpenPgpFingerprint getFingerprint() {
|
||||
return signingKeyIdentifier.getSubkeyFingerprint();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue