RFC 3126: 4.2.2 Complete Revocation Refs Attribute Definition CrlOcspRef ::= SEQUENCE { crlids [0] CRLListID OPTIONAL, ocspids [1] OcspListID OPTIONAL, otherRev [2] OtherRevRefs OPTIONAL }
Inheritance: Asn1Encodable
 private CompleteRevocationRefs(Asn1Sequence seq)
 {
     //IL_000e: Unknown result type (might be due to invalid IL or missing references)
     if (seq == null)
     {
         throw new ArgumentNullException("seq");
     }
     global::System.Collections.IEnumerator enumerator = seq.GetEnumerator();
     try
     {
         while (enumerator.MoveNext())
         {
             Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.get_Current();
             CrlOcspRef.GetInstance(asn1Encodable.ToAsn1Object());
         }
     }
     finally
     {
         global::System.IDisposable disposable = enumerator as global::System.IDisposable;
         if (disposable != null)
         {
             disposable.Dispose();
         }
     }
     crlOcspRefs = seq;
 }
 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);
 }
Ejemplo n.º 3
0
 public CrlOcspRef[] GetCrlOcspRefs()
 {
     CrlOcspRef[] array = new CrlOcspRef[this.crlOcspRefs.Count];
     for (int i = 0; i < this.crlOcspRefs.Count; i++)
     {
         array[i] = CrlOcspRef.GetInstance(this.crlOcspRefs[i].ToAsn1Object());
     }
     return(array);
 }
		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;
		}
Ejemplo n.º 5
0
 private CompleteRevocationRefs(Asn1Sequence seq)
 {
     if (seq == null)
     {
         throw new ArgumentNullException("seq");
     }
     foreach (Asn1Encodable asn1Encodable in seq)
     {
         CrlOcspRef.GetInstance(asn1Encodable.ToAsn1Object());
     }
     this.crlOcspRefs = seq;
 }