public static GetInstance ( object obj ) : |
||
obj | object | |
return |
private CompleteCertificateRefs(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(); OtherCertID.GetInstance(asn1Encodable.ToAsn1Object()); } } finally { global::System.IDisposable disposable = enumerator as global::System.IDisposable; if (disposable != null) { disposable.Dispose(); } } otherCertIDs = seq; }
public OtherCertID[] GetCerts() { OtherCertID[] array = new OtherCertID[certs.Count]; for (int i = 0; i < certs.Count; i++) { array[i] = OtherCertID.GetInstance(certs[i].ToAsn1Object()); } return(array); }
public OtherCertID[] GetCerts() { OtherCertID[] cs = new OtherCertID[certs.Count]; for (int i = 0; i < certs.Count; ++i) { cs[i] = OtherCertID.GetInstance(certs[i].ToAsn1Object()); } return(cs); }
public OtherCertID[] GetOtherCertIDs() { OtherCertID[] result = new OtherCertID[otherCertIDs.Count]; for (int i = 0; i < otherCertIDs.Count; ++i) { result[i] = OtherCertID.GetInstance(otherCertIDs[i].ToAsn1Object()); } return(result); }
public OtherCertID[] GetOtherCertIDs() { OtherCertID[] array = new OtherCertID[this.otherCertIDs.Count]; for (int i = 0; i < this.otherCertIDs.Count; i++) { array[i] = OtherCertID.GetInstance(this.otherCertIDs[i].ToAsn1Object()); } return(array); }
private CompleteCertificateRefs(Asn1Sequence seq) { if (seq == null) { throw new ArgumentNullException("seq"); } foreach (Asn1Encodable asn1Encodable in seq) { OtherCertID.GetInstance(asn1Encodable.ToAsn1Object()); } this.otherCertIDs = seq; }