public class X509ChainPolicy extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.X509Certificates.X509ChainPolicy
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.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.X509Certificates.X509ChainPolicy
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
X509ChainPolicy()
Initializes a new instance by invoking the .NET constructor.
|
X509ChainPolicy(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static X509ChainPolicy |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into X509ChainPolicy, a cast assert is made to check if types are compatible. |
X509ChainPolicy |
Clone()
Invokes the .NET member Clone.
|
OidCollection |
getApplicationPolicy()
Gets the value of the .NET property ApplicationPolicy.
|
OidCollection |
getCertificatePolicy()
Gets the value of the .NET property CertificatePolicy.
|
X509Certificate2Collection |
getCustomTrustStore()
Gets the value of the .NET property CustomTrustStore.
|
boolean |
getDisableCertificateDownloads()
Gets the value of the .NET property DisableCertificateDownloads.
|
X509Certificate2Collection |
getExtraStore()
Gets the value of the .NET property ExtraStore.
|
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. |
X509RevocationFlag |
getRevocationFlag()
Gets the value of the .NET property RevocationFlag.
|
X509RevocationMode |
getRevocationMode()
Gets the value of the .NET property RevocationMode.
|
X509ChainTrustMode |
getTrustMode()
Gets the value of the .NET property TrustMode.
|
TimeSpan |
getUrlRetrievalTimeout()
Gets the value of the .NET property UrlRetrievalTimeout.
|
X509VerificationFlags |
getVerificationFlags()
Gets the value of the .NET property VerificationFlags.
|
DateTime |
getVerificationTime()
Gets the value of the .NET property VerificationTime.
|
boolean |
getVerificationTimeIgnored()
Gets the value of the .NET property VerificationTimeIgnored.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setDisableCertificateDownloads(boolean DisableCertificateDownloads)
Sets the value of the .NET property DisableCertificateDownloads.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRevocationFlag(X509RevocationFlag RevocationFlag)
Sets the value of the .NET property RevocationFlag.
|
void |
setRevocationMode(X509RevocationMode RevocationMode)
Sets the value of the .NET property RevocationMode.
|
void |
setTrustMode(X509ChainTrustMode TrustMode)
Sets the value of the .NET property TrustMode.
|
void |
setUrlRetrievalTimeout(TimeSpan UrlRetrievalTimeout)
Sets the value of the .NET property UrlRetrievalTimeout.
|
void |
setVerificationFlags(X509VerificationFlags VerificationFlags)
Sets the value of the .NET property VerificationFlags.
|
void |
setVerificationTime(DateTime VerificationTime)
Sets the value of the .NET property VerificationTime.
|
void |
setVerificationTimeIgnored(boolean VerificationTimeIgnored)
Sets the value of the .NET property VerificationTimeIgnored.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public X509ChainPolicy()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidTimeZoneException,
OverflowException,
SecurityException
java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itSecurityException - if the .NET member raises itpublic X509ChainPolicy(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 X509ChainPolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into X509ChainPolicy, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedX509ChainPolicy instancejava.lang.Throwable - in case of error during cast operationpublic X509ChainPolicy Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException, ArgumentNullException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itpublic OidCollection getApplicationPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic OidCollection getCertificatePolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509Certificate2Collection getCustomTrustStore() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getDisableCertificateDownloads()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509Certificate2Collection getExtraStore() 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 X509RevocationFlag getRevocationFlag() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509RevocationMode getRevocationMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509ChainTrustMode getTrustMode() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan getUrlRetrievalTimeout() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic X509VerificationFlags getVerificationFlags() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getVerificationTime() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getVerificationTimeIgnored()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reset()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidTimeZoneException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void setDisableCertificateDownloads(boolean DisableCertificateDownloads)
throws java.lang.Throwable
DisableCertificateDownloads - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setRevocationFlag(X509RevocationFlag RevocationFlag) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
RevocationFlag - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setRevocationMode(X509RevocationMode RevocationMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
RevocationMode - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setTrustMode(X509ChainTrustMode TrustMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
TrustMode - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setUrlRetrievalTimeout(TimeSpan UrlRetrievalTimeout) throws java.lang.Throwable
UrlRetrievalTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setVerificationFlags(X509VerificationFlags VerificationFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
VerificationFlags - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setVerificationTime(DateTime VerificationTime) throws java.lang.Throwable
VerificationTime - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setVerificationTimeIgnored(boolean VerificationTimeIgnored)
throws java.lang.Throwable
VerificationTimeIgnored - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR