mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
SOP: Use new MessageMetadata class
This commit is contained in:
parent
b36b5413e2
commit
25190fc5df
3 changed files with 11 additions and 7 deletions
|
@ -69,6 +69,10 @@ public class MessageMetadata {
|
|||
return resultBuilder.build();
|
||||
}
|
||||
|
||||
public boolean isUsingCleartextSignatureFramework() {
|
||||
return message.isCleartextSigned();
|
||||
}
|
||||
|
||||
public boolean isEncrypted() {
|
||||
SymmetricKeyAlgorithm algorithm = getEncryptionAlgorithm();
|
||||
return algorithm != null && algorithm != SymmetricKeyAlgorithm.NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue