Class MessageInspector.EncryptionInfo
- java.lang.Object
-
- org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
-
- Enclosing class:
- MessageInspector
public static class MessageInspector.EncryptionInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description EncryptionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Long>
getKeyIds()
Return a list of recipient key ids for whom the message is encrypted.boolean
isEncrypted()
Return true, if the message is encrypted.boolean
isPassphraseEncrypted()
boolean
isSignedOnly()
Return true, if the message is not encrypted, but signed usingOnePassSignatures
.
-
-
-
Constructor Detail
-
EncryptionInfo
public EncryptionInfo()
-
-
Method Detail
-
getKeyIds
public List<Long> 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
-
-