public virtual CertResponse[] GetResponse() { CertResponse[] results = new CertResponse[response.Count]; for (int i = 0; i != results.Length; ++i) { results[i] = CertResponse.GetInstance(response[i]); } return results; }
public CertRepMessage(CmpCertificate[] caPubs, CertResponse[] response) { if (response == null) throw new ArgumentNullException("response"); if (caPubs != null) { this.caPubs = new DerSequence(caPubs); } this.response = new DerSequence(response); }