Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
SslClientAuthenticationOptions.cs
Go to the documentation of this file.
1
using
System.Collections.Generic
;
2
using
System.Security.Authentication
;
3
using
System.Security.Cryptography.X509Certificates
;
4
5
namespace
System.Net.Security
;
6
7
public
class
SslClientAuthenticationOptions
8
{
9
private
EncryptionPolicy
_encryptionPolicy
;
10
11
private
X509RevocationMode
_checkCertificateRevocation
;
12
13
private
SslProtocols
_enabledSslProtocols
;
14
15
private
bool
_allowRenegotiation
=
true
;
16
17
public
bool
AllowRenegotiation
18
{
19
get
20
{
21
return
_allowRenegotiation
;
22
}
23
set
24
{
25
_allowRenegotiation
=
value
;
26
}
27
}
17
public
bool
AllowRenegotiation
{
…
};
28
29
public
LocalCertificateSelectionCallback? LocalCertificateSelectionCallback {
get
;
set
; }
30
31
public
RemoteCertificateValidationCallback? RemoteCertificateValidationCallback {
get
;
set
; }
32
33
public
List<SslApplicationProtocol>
?
ApplicationProtocols
{
get
;
set
; }
34
35
public
string
?
TargetHost
{
get
;
set
; }
36
37
public
X509CertificateCollection
?
ClientCertificates
{
get
;
set
; }
38
39
public
X509RevocationMode
CertificateRevocationCheckMode
40
{
41
get
42
{
43
return
_checkCertificateRevocation
;
44
}
45
set
46
{
47
if
(
value
!= 0 &&
value
!=
X509RevocationMode
.Offline &&
value
!=
X509RevocationMode
.Online)
48
{
49
throw
new
ArgumentException
(
System
.
SR
.
Format
(
System
.
SR
.
net_invalid_enum
,
"X509RevocationMode"
),
"value"
);
50
}
51
_checkCertificateRevocation
=
value
;
52
}
53
}
39
public
X509RevocationMode
CertificateRevocationCheckMode
{
…
};
54
55
public
EncryptionPolicy
EncryptionPolicy
56
{
57
get
58
{
59
return
_encryptionPolicy
;
60
}
61
set
62
{
63
if
(
value
!= 0 &&
value
!=
EncryptionPolicy
.AllowNoEncryption &&
value
!=
EncryptionPolicy
.NoEncryption)
64
{
65
throw
new
ArgumentException
(
System
.
SR
.
Format
(
System
.
SR
.
net_invalid_enum
,
"EncryptionPolicy"
),
"value"
);
66
}
67
_encryptionPolicy
=
value
;
68
}
69
}
55
public
EncryptionPolicy
EncryptionPolicy
{
…
};
70
71
public
SslProtocols
EnabledSslProtocols
72
{
73
get
74
{
75
return
_enabledSslProtocols
;
76
}
77
set
78
{
79
_enabledSslProtocols
=
value
;
80
}
81
}
71
public
SslProtocols
EnabledSslProtocols
{
…
};
82
83
public
CipherSuitesPolicy
?
CipherSuitesPolicy
{
get
;
set
; }
84
}
7
public
class
SslClientAuthenticationOptions
{
…
};
System.ArgumentException
Definition
ArgumentException.cs:9
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Net.Security.CipherSuitesPolicy
Definition
CipherSuitesPolicy.cs:6
System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode
X509RevocationMode CertificateRevocationCheckMode
Definition
SslClientAuthenticationOptions.cs:40
System.Net.Security.SslClientAuthenticationOptions._checkCertificateRevocation
X509RevocationMode _checkCertificateRevocation
Definition
SslClientAuthenticationOptions.cs:11
System.Net.Security.SslClientAuthenticationOptions.TargetHost
string? TargetHost
Definition
SslClientAuthenticationOptions.cs:35
System.Net.Security.SslClientAuthenticationOptions.ApplicationProtocols
List< SslApplicationProtocol >? ApplicationProtocols
Definition
SslClientAuthenticationOptions.cs:33
System.Net.Security.SslClientAuthenticationOptions.AllowRenegotiation
bool AllowRenegotiation
Definition
SslClientAuthenticationOptions.cs:18
System.Net.Security.SslClientAuthenticationOptions._encryptionPolicy
EncryptionPolicy _encryptionPolicy
Definition
SslClientAuthenticationOptions.cs:9
System.Net.Security.SslClientAuthenticationOptions.EnabledSslProtocols
SslProtocols EnabledSslProtocols
Definition
SslClientAuthenticationOptions.cs:72
System.Net.Security.SslClientAuthenticationOptions._allowRenegotiation
bool _allowRenegotiation
Definition
SslClientAuthenticationOptions.cs:15
System.Net.Security.SslClientAuthenticationOptions._enabledSslProtocols
SslProtocols _enabledSslProtocols
Definition
SslClientAuthenticationOptions.cs:13
System.Net.Security.SslClientAuthenticationOptions.ClientCertificates
X509CertificateCollection? ClientCertificates
Definition
SslClientAuthenticationOptions.cs:37
System.Net.Security.SslClientAuthenticationOptions
Definition
SslClientAuthenticationOptions.cs:8
System.SR.net_invalid_enum
static string net_invalid_enum
Definition
SR.cs:40
System.SR.Format
static string Format(string resourceFormat, object p1)
Definition
SR.cs:118
System.SR
Definition
SR.cs:7
System.Security.Cryptography.X509Certificates.X509CertificateCollection
Definition
X509CertificateCollection.cs:6
System.Collections.Generic
Definition
IHashKeyCollection.cs:1
System.Net.Security.EncryptionPolicy
EncryptionPolicy
Definition
EncryptionPolicy.cs:4
System.Net.Security
Definition
CertificateHelper.cs:4
System.Security.Authentication.SslProtocols
SslProtocols
Definition
SslProtocols.cs:5
System.Security.Authentication
Definition
ExtendedProtectionPolicyTypeConverter.cs:8
System.Security.Cryptography.X509Certificates.X509RevocationMode
X509RevocationMode
Definition
X509RevocationMode.cs:4
System.Security.Cryptography.X509Certificates
Definition
CertificateAsn.cs:4
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
source
System.Net.Security
System.Net.Security
SslClientAuthenticationOptions.cs
Generated by
1.10.0