Пример #1
0
 public CrlOcspRef[] GetCrlOcspRefs()
 {
     CrlOcspRef[] result = new CrlOcspRef[crlOcspRefs.Count];
     for (int i = 0; i < crlOcspRefs.Count; ++i)
     {
         result[i] = CrlOcspRef.GetInstance(crlOcspRefs[i].ToAsn1Object());
     }
     return(result);
 }
Пример #2
0
		public CrlOcspRef[] GetCrlOcspRefs()
		{
			CrlOcspRef[] result = new CrlOcspRef[crlOcspRefs.Count];
			for (int i = 0; i < crlOcspRefs.Count; ++i)
			{
				result[i] = CrlOcspRef.GetInstance(crlOcspRefs[i].ToAsn1Object());
			}
			return result;
		}
Пример #3
0
        private CompleteRevocationRefs(
            Asn1Sequence seq)
        {
            if (seq == null)
            {
                throw new ArgumentNullException("seq");
            }

            foreach (Asn1Encodable ae in seq)
            {
                CrlOcspRef.GetInstance(ae.ToAsn1Object());
            }

            this.crlOcspRefs = seq;
        }