Class OpenPgpElementAndMetadata

java.lang.Object
org.jivesoftware.smackx.ox.crypto.OpenPgpElementAndMetadata

public class OpenPgpElementAndMetadata extends Object
Bundle together an OpenPgpElement and OpenPgpMetadata.
  • Constructor Details

    • OpenPgpElementAndMetadata

      public OpenPgpElementAndMetadata(OpenPgpElement element, org.pgpainless.encryption_signing.EncryptionResult metadata)
      Constructor.
      Parameters:
      element - element
      metadata - metadata about the elements encryption
  • Method Details

    • getElement

      Return the OpenPgpElement.
      Returns:
      element TODO javadoc me please
    • getMetadata

      public org.pgpainless.encryption_signing.EncryptionResult getMetadata()
      Return an EncryptionResult containing metadata about the OpenPgpElements encryption/signatures.
      Returns:
      metadata TODO javadoc me please