Package org.bouncycastle.openpgp
Class PGPSignatureList
- java.lang.Object
-
- org.bouncycastle.openpgp.PGPSignatureList
-
- All Implemented Interfaces:
Iterable<PGPSignature>
,org.bouncycastle.util.Iterable<PGPSignature>
public class PGPSignatureList extends 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()
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 Iterator<PGPSignature> iterator()
Support method for Iterable where available.- Specified by:
iterator
in interfaceIterable<PGPSignature>
- Specified by:
iterator
in interfaceorg.bouncycastle.util.Iterable<PGPSignature>
-
-