public class OpenPgpElementAndMetadata extends Object
OpenPgpElement
and OpenPgpMetadata
.Constructor and Description |
---|
OpenPgpElementAndMetadata(OpenPgpElement element,
org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OpenPgpElement |
getElement()
Return the
OpenPgpElement . |
org.pgpainless.decryption_verification.OpenPgpMetadata |
getMetadata()
Return
OpenPgpMetadata about the OpenPgpElement s encryption/signatures. |
public OpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
element
- elementmetadata
- metadata about the elements encryptionpublic OpenPgpElement getElement()
OpenPgpElement
.public org.pgpainless.decryption_verification.OpenPgpMetadata getMetadata()
OpenPgpMetadata
about the OpenPgpElement
s encryption/signatures.