Package org.bouncycastle.openpgp

## Class PGPSignatureList

- java.lang.Object
- - org.bouncycastle.openpgp.PGPSignatureList

- All Implemented Interfaces:
    `java.lang.Iterable<PGPSignature>`, `org.bouncycastle.util.Iterable<PGPSignature>`

      public class PGPSignatureList
      extends java.lang.Object
      implements org.bouncycastle.util.Iterable<PGPSignature>

  A list of PGP signatures - normally in the signature block after literal data.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PGPSignatureList​(PGPSignature sig)` |
    `PGPSignatureList​(PGPSignature[] sigs)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `PGPSignature` | `get​(int index)` |
    `boolean` | `isEmpty()` |
    `java.util.Iterator<PGPSignature>` | `iterator()` | Support method for Iterable where available.
    `int` | `size()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### PGPSignatureList

          public PGPSignatureList​(PGPSignature[] sigs)

    - #### PGPSignatureList

          public PGPSignatureList​(PGPSignature sig)

  - ### Method Detail

    - #### get

          public PGPSignature get​(int index)

    - #### size

          public int size()

    - #### isEmpty

          public boolean isEmpty()

    - #### iterator

          public java.util.Iterator<PGPSignature> iterator()

      Support method for Iterable where available.
      Specified by:
        `iterator` in interface `java.lang.Iterable<PGPSignature>`
      Specified by:
        `iterator` in interface `org.bouncycastle.util.Iterable<PGPSignature>`