1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-14 16:32:06 +01:00

Add note about deprecation to BaseSignatureSubpackets

This commit is contained in:
Paul Schaub 2023-09-28 11:29:54 +02:00
parent 78e36537b6
commit db72478916
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -35,6 +35,15 @@ public interface BaseSignatureSubpackets {
}
/**
* Add both an {@link IssuerKeyID} and {@link IssuerFingerprint} subpacket pointing to the given key.
*
* @param key key
* @return this
*
* @deprecated this method MUST NOT be used for OpenPGP v6, since v6 signatures MUST NOT contain any
* {@link IssuerKeyID} packets.
*/
BaseSignatureSubpackets setIssuerFingerprintAndKeyId(PGPPublicKey key);
BaseSignatureSubpackets setIssuerKeyId(long keyId);