예제 #1
0
		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;
		}
예제 #2
0
		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);
		}