public class SslServerAuthenticationOptions extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Security.SslServerAuthenticationOptions
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Security, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Security
|
static java.lang.String |
className
Qualified class name: System.Net.Security.SslServerAuthenticationOptions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SslServerAuthenticationOptions()
Initializes a new instance by invoking the .NET constructor.
|
SslServerAuthenticationOptions(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SslServerAuthenticationOptions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SslServerAuthenticationOptions, a cast assert is made to check if types are compatible. |
boolean |
getAllowRenegotiation()
Gets the value of the .NET property AllowRenegotiation.
|
boolean |
getAllowTlsResume()
Gets the value of the .NET property AllowTlsResume.
|
List_1 |
getApplicationProtocols()
Gets the value of the .NET property ApplicationProtocols.
|
X509ChainPolicy |
getCertificateChainPolicy()
Gets the value of the .NET property CertificateChainPolicy.
|
X509RevocationMode |
getCertificateRevocationCheckMode()
Gets the value of the .NET property CertificateRevocationCheckMode.
|
CipherSuitesPolicy |
getCipherSuitesPolicy()
Gets the value of the .NET property CipherSuitesPolicy.
|
boolean |
getClientCertificateRequired()
Gets the value of the .NET property ClientCertificateRequired.
|
SslProtocols |
getEnabledSslProtocols()
Gets the value of the .NET property EnabledSslProtocols.
|
EncryptionPolicy |
getEncryptionPolicy()
Gets the value of the .NET property EncryptionPolicy.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
RemoteCertificateValidationCallback |
getRemoteCertificateValidationCallback()
Gets the value of the .NET property RemoteCertificateValidationCallback.
|
X509Certificate |
getServerCertificate()
Gets the value of the .NET property ServerCertificate.
|
SslStreamCertificateContext |
getServerCertificateContext()
Gets the value of the .NET property ServerCertificateContext.
|
ServerCertificateSelectionCallback |
getServerCertificateSelectionCallback()
Gets the value of the .NET property ServerCertificateSelectionCallback.
|
void |
setAllowRenegotiation(boolean AllowRenegotiation)
Sets the value of the .NET property AllowRenegotiation.
|
void |
setAllowTlsResume(boolean AllowTlsResume)
Sets the value of the .NET property AllowTlsResume.
|
void |
setApplicationProtocols(List_1 ApplicationProtocols)
Sets the value of the .NET property ApplicationProtocols.
|
void |
setCertificateChainPolicy(X509ChainPolicy CertificateChainPolicy)
Sets the value of the .NET property CertificateChainPolicy.
|
void |
setCertificateRevocationCheckMode(X509RevocationMode CertificateRevocationCheckMode)
Sets the value of the .NET property CertificateRevocationCheckMode.
|
void |
setCipherSuitesPolicy(CipherSuitesPolicy CipherSuitesPolicy)
Sets the value of the .NET property CipherSuitesPolicy.
|
void |
setClientCertificateRequired(boolean ClientCertificateRequired)
Sets the value of the .NET property ClientCertificateRequired.
|
void |
setEnabledSslProtocols(SslProtocols EnabledSslProtocols)
Sets the value of the .NET property EnabledSslProtocols.
|
void |
setEncryptionPolicy(EncryptionPolicy EncryptionPolicy)
Sets the value of the .NET property EncryptionPolicy.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRemoteCertificateValidationCallback(RemoteCertificateValidationCallback RemoteCertificateValidationCallback)
Sets the value of the .NET property RemoteCertificateValidationCallback.
|
void |
setServerCertificate(X509Certificate ServerCertificate)
Sets the value of the .NET property ServerCertificate.
|
void |
setServerCertificateContext(SslStreamCertificateContext ServerCertificateContext)
Sets the value of the .NET property ServerCertificateContext.
|
void |
setServerCertificateSelectionCallback(ServerCertificateSelectionCallback ServerCertificateSelectionCallback)
Sets the value of the .NET property ServerCertificateSelectionCallback.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SslServerAuthenticationOptions()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic SslServerAuthenticationOptions(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static SslServerAuthenticationOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SslServerAuthenticationOptions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSslServerAuthenticationOptions instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowRenegotiation()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAllowTlsResume()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic List_1 getApplicationProtocols() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509ChainPolicy getCertificateChainPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509RevocationMode getCertificateRevocationCheckMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic CipherSuitesPolicy getCipherSuitesPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getClientCertificateRequired()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SslProtocols getEnabledSslProtocols() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic EncryptionPolicy getEncryptionPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic RemoteCertificateValidationCallback getRemoteCertificateValidationCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509Certificate getServerCertificate() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SslStreamCertificateContext getServerCertificateContext() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ServerCertificateSelectionCallback getServerCertificateSelectionCallback() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowRenegotiation(boolean AllowRenegotiation)
throws java.lang.Throwable
AllowRenegotiation - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAllowTlsResume(boolean AllowTlsResume)
throws java.lang.Throwable
AllowTlsResume - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setApplicationProtocols(List_1 ApplicationProtocols) throws java.lang.Throwable
ApplicationProtocols - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCertificateChainPolicy(X509ChainPolicy CertificateChainPolicy) throws java.lang.Throwable
CertificateChainPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCertificateRevocationCheckMode(X509RevocationMode CertificateRevocationCheckMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
CertificateRevocationCheckMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setCipherSuitesPolicy(CipherSuitesPolicy CipherSuitesPolicy) throws java.lang.Throwable
CipherSuitesPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setClientCertificateRequired(boolean ClientCertificateRequired)
throws java.lang.Throwable
ClientCertificateRequired - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEnabledSslProtocols(SslProtocols EnabledSslProtocols) throws java.lang.Throwable
EnabledSslProtocols - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEncryptionPolicy(EncryptionPolicy EncryptionPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
EncryptionPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setRemoteCertificateValidationCallback(RemoteCertificateValidationCallback RemoteCertificateValidationCallback) throws java.lang.Throwable
RemoteCertificateValidationCallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setServerCertificate(X509Certificate ServerCertificate) throws java.lang.Throwable
ServerCertificate - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setServerCertificateContext(SslStreamCertificateContext ServerCertificateContext) throws java.lang.Throwable
ServerCertificateContext - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setServerCertificateSelectionCallback(ServerCertificateSelectionCallback ServerCertificateSelectionCallback) throws java.lang.Throwable
ServerCertificateSelectionCallback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR