Skip to content

Commit

Permalink
Merge branch 'setWithIntegrityPacket' of https://github.com/pgpainles…
Browse files Browse the repository at this point in the history
…s/bc-java into pgpainless-setWithIntegrityPacket
  • Loading branch information
dghgit committed Feb 14, 2021
2 parents b4b81b4 + 6f19fa0 commit 456d05c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ PGPDataEncryptor build(byte[] keyBytes)
* constructed and retained by the this builder.</p>
*/
SecureRandom getSecureRandom();

PGPDataEncryptorBuilder setWithIntegrityPacket(boolean withIntegrityPacket);
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public BcPGPDataEncryptorBuilder(int encAlgorithm)
* @param withIntegrityPacket true if an integrity packet is to be included, false otherwise.
* @return the current builder.
*/
@Override
public BcPGPDataEncryptorBuilder setWithIntegrityPacket(boolean withIntegrityPacket)
{
this.withIntegrityPacket = withIntegrityPacket;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public JcePGPDataEncryptorBuilder(int encAlgorithm)
* @param withIntegrityPacket true if an integrity packet is to be included, false otherwise.
* @return the current builder.
*/
@Override
public JcePGPDataEncryptorBuilder setWithIntegrityPacket(boolean withIntegrityPacket)
{
this.withIntegrityPacket = withIntegrityPacket;
Expand Down

0 comments on commit 456d05c

Please sign in to comment.