Class OpenPgpElementAndMetadata
- java.lang.Object
-
- org.jivesoftware.smackx.ox.crypto.OpenPgpElementAndMetadata
-
public class OpenPgpElementAndMetadata extends Object
Bundle together anOpenPgpElement
andOpenPgpMetadata
.
-
-
Constructor Summary
Constructors Constructor Description OpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenPgpElement
getElement()
Return theOpenPgpElement
.org.pgpainless.decryption_verification.OpenPgpMetadata
getMetadata()
ReturnOpenPgpMetadata
about theOpenPgpElement
s encryption/signatures.
-
-
-
Constructor Detail
-
OpenPgpElementAndMetadata
public OpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
Constructor.- Parameters:
element
- elementmetadata
- metadata about the elements encryption
-
-
Method Detail
-
getElement
public OpenPgpElement getElement()
Return theOpenPgpElement
.- Returns:
- element TODO javadoc me please
-
getMetadata
public org.pgpainless.decryption_verification.OpenPgpMetadata getMetadata()
ReturnOpenPgpMetadata
about theOpenPgpElement
s encryption/signatures.- Returns:
- metadata TODO javadoc me please
-
-