mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-27 21:37:58 +01:00
Fix generics of CertificationSubpackets callback
This commit is contained in:
parent
35dd4f9a67
commit
1949cc5eea
2 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,7 @@ package org.pgpainless.signature.subpackets;
|
|||
|
||||
public interface CertificationSubpackets extends BaseSignatureSubpackets {
|
||||
|
||||
interface Callback extends SignatureSubpacketCallback<BaseSignatureSubpackets> {
|
||||
interface Callback extends SignatureSubpacketCallback<CertificationSubpackets> {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@ import org.pgpainless.PGPainless;
|
|||
import org.pgpainless.algorithm.SignatureType;
|
||||
import org.pgpainless.implementation.ImplementationFactory;
|
||||
import org.pgpainless.key.protection.SecretKeyRingProtector;
|
||||
import org.pgpainless.signature.subpackets.BaseSignatureSubpackets;
|
||||
import org.pgpainless.signature.subpackets.CertificationSubpackets;
|
||||
import org.pgpainless.signature.subpackets.SignatureSubpacketsUtil;
|
||||
|
||||
|
@ -53,7 +52,7 @@ public class ThirdPartyCertificationSignatureBuilderTest {
|
|||
|
||||
signatureBuilder.applyCallback(new CertificationSubpackets.Callback() {
|
||||
@Override
|
||||
public void modifyHashedSubpackets(BaseSignatureSubpackets hashedSubpackets) {
|
||||
public void modifyHashedSubpackets(CertificationSubpackets hashedSubpackets) {
|
||||
hashedSubpackets.setExportable(true, false);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue