Class X509ChainPolicy
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.x509certificates.X509ChainPolicy
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class X509ChainPolicy extends NetObject
The base .NET class managing System.Security.Cryptography.X509Certificates.X509ChainPolicy, System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.X509Certificates.X509ChainPolicy
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Security.Cryptographystatic java.lang.String
className
Qualified class name: System.Security.Cryptography.X509Certificates.X509ChainPolicystatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description X509ChainPolicy()
X509ChainPolicy(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.X509Certificates.X509ChainPolicy- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X509ChainPolicy
public X509ChainPolicy(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
X509ChainPolicy
public X509ChainPolicy() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, OverflowException, SecurityException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static X509ChainPolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoX509ChainPolicy
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
X509ChainPolicy
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clone
public X509ChainPolicy Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException, ArgumentNullException, FormatException
-
Reset
public void Reset() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidTimeZoneException, SecurityException, UnauthorizedAccessException, IOException, NullReferenceException
-
getDisableCertificateDownloads
public boolean getDisableCertificateDownloads() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDisableCertificateDownloads
public void setDisableCertificateDownloads(boolean DisableCertificateDownloads) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVerificationTimeIgnored
public boolean getVerificationTimeIgnored() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVerificationTimeIgnored
public void setVerificationTimeIgnored(boolean VerificationTimeIgnored) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVerificationTime
public DateTime getVerificationTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVerificationTime
public void setVerificationTime(DateTime VerificationTime) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getApplicationPolicy
public OidCollection getApplicationPolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificatePolicy
public OidCollection getCertificatePolicy() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCustomTrustStore
public X509Certificate2Collection getCustomTrustStore() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getExtraStore
public X509Certificate2Collection getExtraStore() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTrustMode
public X509ChainTrustMode getTrustMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTrustMode
public void setTrustMode(X509ChainTrustMode TrustMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getRevocationFlag
public X509RevocationFlag getRevocationFlag() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRevocationFlag
public void setRevocationFlag(X509RevocationFlag RevocationFlag) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getRevocationMode
public X509RevocationMode getRevocationMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRevocationMode
public void setRevocationMode(X509RevocationMode RevocationMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getVerificationFlags
public X509VerificationFlags getVerificationFlags() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setVerificationFlags
public void setVerificationFlags(X509VerificationFlags VerificationFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getUrlRetrievalTimeout
public TimeSpan getUrlRetrievalTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUrlRetrievalTimeout
public void setUrlRetrievalTimeout(TimeSpan UrlRetrievalTimeout) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-