1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 03:17:58 +01:00

Remove unused methods in DetachedSignature

This commit is contained in:
Paul Schaub 2021-10-03 13:46:15 +02:00
parent 7bc35dcba3
commit 910bae58c0
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -28,7 +28,6 @@ public class DetachedSignature {
private final PGPSignature signature;
private final PGPKeyRing signingKeyRing;
private final SubkeyIdentifier signingKeyIdentifier;
private boolean verified;
/**
* Create a new {@link DetachedSignature} object.
@ -43,24 +42,6 @@ public class DetachedSignature {
this.signingKeyIdentifier = signingKeyIdentifier;
}
/**
* Mark this {@link DetachedSignature} as verified.
*
* @param verified verified
*/
public void setVerified(boolean verified) {
this.verified = verified;
}
/**
* Return true iff the signature is verified.
*
* @return verified
*/
public boolean isVerified() {
return verified;
}
/**
* Return the OpenPGP signature.
*