Class MessageMetadata.Layer

java.lang.Object
org.pgpainless.decryption_verification.MessageMetadata.Layer
All Implemented Interfaces:
MessageMetadata.Packet
Direct Known Subclasses:
MessageMetadata.CompressedData, MessageMetadata.EncryptedData, MessageMetadata.Message
Enclosing class:
MessageMetadata

public abstract static class MessageMetadata.Layer extends Object implements MessageMetadata.Packet
  • Field Details

  • Constructor Details

    • Layer

      public Layer(int depth)
  • Method Details

    • getChild

      @Nullable public MessageMetadata.Nested getChild()
      Return the nested child element of this layer. Might return
      null
      , if this layer does not have a child element (e.g. if this is a MessageMetadata.LiteralData packet).
      Returns:
      child element
    • getVerifiedDetachedSignatures

      public List<SignatureVerification> getVerifiedDetachedSignatures()
      Return a list of all verified detached signatures of this layer.
      Returns:
      all verified detached signatures of this layer
    • getRejectedDetachedSignatures

      public List<SignatureVerification.Failure> getRejectedDetachedSignatures()
      Return a list of all rejected detached signatures of this layer.
      Returns:
      all rejected detached signatures of this layer
    • getVerifiedOnePassSignatures

      public List<SignatureVerification> getVerifiedOnePassSignatures()
      Return a list of all verified one-pass-signatures of this layer.
      Returns:
      all verified one-pass-signatures of this layer
    • getRejectedOnePassSignatures

      public List<SignatureVerification.Failure> getRejectedOnePassSignatures()
      Return a list of all rejected one-pass-signatures of this layer.
      Returns:
      all rejected one-pass-signatures of this layer
    • getVerifiedPrependedSignatures

      public List<SignatureVerification> getVerifiedPrependedSignatures()
      Return a list of all verified prepended signatures of this layer.
      Returns:
      all verified prepended signatures of this layer
    • getRejectedPrependedSignatures

      public List<SignatureVerification.Failure> getRejectedPrependedSignatures()
      Return a list of all rejected prepended signatures of this layer.
      Returns:
      all rejected prepended signatures of this layer