1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00

Eliminate removed 'm' StreamEncoding

This commit is contained in:
Paul Schaub 2022-03-27 17:29:42 +02:00
parent 82936c5499
commit 1cb3e559b5
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -36,17 +36,6 @@ public enum StreamEncoding {
*/ */
UTF8(PGPLiteralData.UTF8), UTF8(PGPLiteralData.UTF8),
/**
* The literal data packet contains a MIME message body part (RFC2045).
* Introduced in rfc4880-bis10.
*
* TODO: Replace 'm' with 'PGPLiteralData.MIME' once BC 1.71 gets released and contains our fix:
* https://github.com/bcgit/bc-java/pull/1088
*
* @see <a href="https://tools.ietf.org/id/draft-ietf-openpgp-rfc4880bis-10.html#name-literal-data-packet-tag-11">RFC4880-bis10</a>
*/
MIME('m'),
/** /**
* Early versions of PGP also defined a value of 'l' as a 'local' mode for machine-local conversions. * Early versions of PGP also defined a value of 'l' as a 'local' mode for machine-local conversions.
* RFC 1991 [RFC1991] incorrectly stated this local mode flag as '1' (ASCII numeral one). * RFC 1991 [RFC1991] incorrectly stated this local mode flag as '1' (ASCII numeral one).