private static int FindIndexForSigner(SignerInfo[] signerInfos, SignerInfo signer) { Debug.Assert(signer != null); SubjectIdentifier id = signer.SignerIdentifier; for (int i = 0; i < signerInfos.Length; i++) { SignerInfo current = signerInfos[i]; SubjectIdentifier currentId = current.SignerIdentifier; if (id.IsEquivalentTo(currentId)) { return(i); } } return(-1); }
internal int FindIndexForSigner(SignerInfo signer) { return(FindIndexForSigner(_signerInfos, signer)); }
private static bool CheckCertificate( X509Certificate2 tsaCertificate, SignerInfo signer, in EssCertId?certId,