public static class OpenPGPCertificate.OpenPGPSignatureChains extends java.lang.Object implements java.lang.Iterable<OpenPGPCertificate.OpenPGPSignatureChain>
OpenPGPCertificate.OpenPGPSignatureChain
objects.Constructor and Description |
---|
OpenPGPSignatureChains(OpenPGPCertificate.OpenPGPCertificateComponent component) |
Modifier and Type | Method and Description |
---|---|
void |
add(OpenPGPCertificate.OpenPGPSignatureChain chain)
Add a single chain to the collection.
|
void |
addAll(OpenPGPCertificate.OpenPGPSignatureChains otherChains)
Add all chains to the collection.
|
OpenPGPCertificate.OpenPGPSignatureChains |
fromOrigin(OpenPGPCertificate.OpenPGPComponentKey root)
Return all
OpenPGPCertificate.OpenPGPSignatureChain items which originate from the root OpenPGPCertificate.OpenPGPComponentKey . |
OpenPGPCertificate.OpenPGPSignatureChain |
getCertificationAt(java.util.Date evaluationTime)
Return a positive certification chain for the component for the given evaluationTime.
|
OpenPGPCertificate.OpenPGPSignatureChain |
getChainAt(java.util.Date evaluationDate)
Return the latest chain, which is valid at the given evaluation time.
|
OpenPGPCertificate.OpenPGPSignatureChains |
getChainsAt(java.util.Date evaluationTime)
Return all
OpenPGPCertificate.OpenPGPSignatureChain objects, which are valid at the given evaluation time. |
OpenPGPCertificate.OpenPGPSignatureChain |
getRevocationAt(java.util.Date evaluationTime)
Return a negative certification chain for the component for the given evaluationTime.
|
boolean |
isEmpty()
Return true if the collection is empty.
|
java.util.Iterator<OpenPGPCertificate.OpenPGPSignatureChain> |
iterator() |
java.lang.String |
toString() |
public OpenPGPSignatureChains(OpenPGPCertificate.OpenPGPCertificateComponent component)
public void add(OpenPGPCertificate.OpenPGPSignatureChain chain)
chain
- chainpublic void addAll(OpenPGPCertificate.OpenPGPSignatureChains otherChains)
otherChains
- other chainspublic boolean isEmpty()
public OpenPGPCertificate.OpenPGPSignatureChain getCertificationAt(java.util.Date evaluationTime)
evaluationTime
- time for which validity of the OpenPGPCertificate.OpenPGPCertificateComponent
is checked.public OpenPGPCertificate.OpenPGPSignatureChains getChainsAt(java.util.Date evaluationTime)
OpenPGPCertificate.OpenPGPSignatureChain
objects, which are valid at the given evaluation time.evaluationTime
- reference timepublic OpenPGPCertificate.OpenPGPSignatureChain getRevocationAt(java.util.Date evaluationTime)
evaluationTime
- time for which revocation-ness of the OpenPGPCertificate.OpenPGPCertificateComponent
is checked.public java.lang.String toString()
toString
in class java.lang.Object
public OpenPGPCertificate.OpenPGPSignatureChains fromOrigin(OpenPGPCertificate.OpenPGPComponentKey root)
OpenPGPCertificate.OpenPGPSignatureChain
items which originate from the root OpenPGPCertificate.OpenPGPComponentKey
.root
- root keypublic OpenPGPCertificate.OpenPGPSignatureChain getChainAt(java.util.Date evaluationDate)
evaluationDate
- reference timepublic java.util.Iterator<OpenPGPCertificate.OpenPGPSignatureChain> iterator()
iterator
in interface java.lang.Iterable<OpenPGPCertificate.OpenPGPSignatureChain>