in jvm/src/main/kotlin/com/jetbrains/signatureverifier/bouncycastle/cms/SignerInformationStore.kt [83:101]
fun getSigners(
selector: SignerId
): Collection<SignerInformation>? {
return if (selector.issuer != null && selector.subjectKeyIdentifier != null) {
val results = mutableListOf<SignerInformation>()
val match1 = getSigners(SignerId(selector.issuer, selector.serialNumber))
if (match1 != null) {
results.addAll(match1)
}
val match2 = getSigners(SignerId(selector.subjectKeyIdentifier))
if (match2 != null) {
results.addAll(match2)
}
results
} else {
val list = table[selector]
if (list == null) ArrayList() else ArrayList(list)
}
}