Example #1
0
 public int UsePrivateKeyFile(string filename, SslFileType type)
 {
     return(Native.ExpectSuccess(Native.SSL_CTX_use_PrivateKey_file(this.ptr, filename, (int)type)));
 }
Example #2
0
 public int UseCertificateFile(string filename, SslFileType type)
 {
     return(Native.ExpectSuccess(Native.SSL_CTX_use_certificate_file(this.ptr, filename, (int)type)));
 }
Example #3
0
 public int UsePrivateKeyFile(string filename, SslFileType type)
 {
     return Native.ExpectSuccess(Native.SSL_CTX_use_PrivateKey_file(this.ptr, filename, (int)type));
 }
Example #4
0
 internal int UsePrivateKeyFile(string filename, SslFileType type)
 {
     return(Native.ExpectSuccess(Native.SSL_use_PrivateKey_file(ptr, filename, (int)type)));
 }
Example #5
0
 internal int UseCertificateFile(string filename, SslFileType type)
 {
     return(Native.ExpectSuccess(Native.SSL_use_certificate_file(ptr, filename, (int)type)));
 }
Example #6
0
		public int UseCertificateFile(string filename, SslFileType type)
		{
			return Native.ExpectSuccess(Native.SSL_CTX_use_certificate_file(this.ptr, filename, (int)type));
		}
Example #7
0
		internal int UsePrivateKeyFile(string filename, SslFileType type)
		{
			return Native.ExpectSuccess(Native.SSL_use_PrivateKey_file(ptr, filename, (int)type));
		}
Example #8
0
		internal int UseCertificateFile(string filename, SslFileType type)
		{
			return Native.ExpectSuccess(Native.SSL_use_certificate_file(ptr, filename, (int)type));
		}