Package org.bouncycastle.openpgp

## Class PGPOnePassSignatureList

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

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

      public class PGPOnePassSignatureList
      extends java.lang.Object
      implements org.bouncycastle.util.Iterable<PGPOnePassSignature>

  Holder for a list of PGPOnePassSignatures

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PGPOnePassSignatureList​(PGPOnePassSignature sig)` |
    `PGPOnePassSignatureList​(PGPOnePassSignature[] sigs)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `PGPOnePassSignature` | `get​(int index)` |
    `boolean` | `isEmpty()` |
    `java.util.Iterator<PGPOnePassSignature>` | `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

    - #### PGPOnePassSignatureList

          public PGPOnePassSignatureList​(PGPOnePassSignature[] sigs)

    - #### PGPOnePassSignatureList

          public PGPOnePassSignatureList​(PGPOnePassSignature sig)

  - ### Method Detail

    - #### get

          public PGPOnePassSignature get​(int index)

    - #### size

          public int size()

    - #### isEmpty

          public boolean isEmpty()

    - #### iterator

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

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