Class MessageInspector.EncryptionInfo
- java.lang.Object
-
- org.pgpainless.decryption_verification.MessageInspector.EncryptionInfo
-
- Enclosing class:
- MessageInspector
public static class MessageInspector.EncryptionInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EncryptionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.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
.
-
-
-
Method Detail
-
getKeyIds
public java.util.List<java.lang.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
-
-