Class OpenPgpElementAndMetadata
java.lang.Object
org.jivesoftware.smackx.ox.crypto.OpenPgpElementAndMetadata
Bundle together an
OpenPgpElement
and OpenPgpMetadata
.-
Constructor Summary
ConstructorDescriptionOpenPgpElementAndMetadata
(OpenPgpElement element, org.pgpainless.encryption_signing.EncryptionResult metadata) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn theOpenPgpElement
.org.pgpainless.encryption_signing.EncryptionResult
Return anEncryptionResult
containing metadata about theOpenPgpElement
s encryption/signatures.
-
Constructor Details
-
OpenPgpElementAndMetadata
public OpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.encryption_signing.EncryptionResult metadata) Constructor.- Parameters:
element
- elementmetadata
- metadata about the elements encryption
-
-
Method Details
-
getElement
Return theOpenPgpElement
.- Returns:
- element TODO javadoc me please
-
getMetadata
Return anEncryptionResult
containing metadata about theOpenPgpElement
s encryption/signatures.- Returns:
- metadata TODO javadoc me please
-