Class MessageInspector.EncryptionInfo
java.lang.Object
org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
- Enclosing class:
MessageInspector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a list of recipient key ids for whom the message is encrypted.boolean
Return true, if the message is encrypted.boolean
boolean
Return true, if the message is not encrypted, but signed usingOnePassSignatures
.
-
Constructor Details
-
EncryptionInfo
public EncryptionInfo()
-
-
Method Details
-
getKeyIds
Return a list of recipient key ids for whom the message is encrypted.- Returns:
- recipient key ids
-
isPassphraseEncrypted
public boolean isPassphraseEncrypted() -
isEncrypted
public boolean isEncrypted()Return true, if the message is encrypted.- Returns:
- true if encrypted
-
isSignedOnly
public boolean isSignedOnly()Return true, if the message is not encrypted, but signed usingOnePassSignatures
.- Returns:
- true if message is signed only
-