public static GetInstance ( object obj ) : |
||
obj | object | |
return |
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); }
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); }
private CompleteRevocationRefs(Asn1Sequence seq) { if (seq == null) { throw new ArgumentNullException("seq"); } foreach (Asn1Encodable asn1Encodable in seq) { CrlOcspRef.GetInstance(asn1Encodable.ToAsn1Object()); } this.crlOcspRefs = seq; }