1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-22 19:08:00 +01:00

Add note about deprecation to BaseSignatureSubpackets

This commit is contained in:
Paul Schaub 2023-09-28 11:29:54 +02:00
parent c9f988b2d1
commit 4c237d55ed
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 setIssuerFingerprintAndKeyId(PGPPublicKey key);
BaseSignatureSubpackets setIssuerKeyId(long keyId); BaseSignatureSubpackets setIssuerKeyId(long keyId);