Org.BouncyCastle.Ocsp.OcspReq.GetCertList C# (CSharp) Метод

GetCertList() приватный Метод

private GetCertList ( ) : IList
Результат IList
		private IList GetCertList()
		{
			// load the certificates if we have any

			IList certs = Platform.CreateArrayList();
			Asn1Sequence s = req.OptionalSignature.Certs;

			if (s != null)
			{
				foreach (Asn1Encodable ae in s)
				{
					try
					{
						certs.Add(new X509CertificateParser().ReadCertificate(ae.GetEncoded()));
					}
					catch (Exception e)
					{
						throw new OcspException("can't re-encode certificate!", e);
					}
				}
			}

			return certs;
		}