예제 #1
0
        public virtual TlsCredentials GetClientCredentials(TlsContext context, CertificateRequest certificateRequest)
        {
            object result;

            if (credProvider == null)
            {
                TlsCredentials tlsCredentials = null;
                result = tlsCredentials;
            }
            else
            {
                result = credProvider.GetClientCredentials(context, certificateRequest);
            }
            return((TlsCredentials)result);
        }
 public virtual TlsCredentials GetClientCredentials(TlsContext context, CertificateRequest certificateRequest)
 {
     return(credProvider == null ? null : credProvider.GetClientCredentials(context, certificateRequest));
 }