Class OpenPgpElementAndMetadata
java.lang.Object
org.jivesoftware.smackx.ox.crypto.OpenPgpElementAndMetadata
Bundle together an
OpenPgpElement and OpenPgpMetadata.-
Constructor Summary
ConstructorsConstructorDescriptionOpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.encryption_signing.EncryptionResult metadata) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn theOpenPgpElement.org.pgpainless.encryption_signing.EncryptionResultReturn anEncryptionResultcontaining metadata about theOpenPgpElements 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 anEncryptionResultcontaining metadata about theOpenPgpElements encryption/signatures.- Returns:
- metadata TODO javadoc me please
-