Class X500DistinguishedName
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.AsnEncodedData
-
- system.security.cryptography.x509certificates.X500DistinguishedName
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class X500DistinguishedName extends AsnEncodedData
The base .NET class managing System.Security.Cryptography.X509Certificates.X500DistinguishedName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.X509Certificates.X500DistinguishedName
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.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.X509Certificates.X500DistinguishedNamestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description X500DistinguishedName()X500DistinguishedName(byte[] encodedDistinguishedName)X500DistinguishedName(java.lang.Object instance)Internal constructor.X500DistinguishedName(java.lang.String distinguishedName)X500DistinguishedName(java.lang.String distinguishedName, X500DistinguishedNameFlags flag)X500DistinguishedName(AsnEncodedData encodedDistinguishedName)X500DistinguishedName(X500DistinguishedName distinguishedName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X500DistinguishedNamecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoX500DistinguishedName, a cast assert is made to check if types are compatible.java.lang.StringDecode(X500DistinguishedNameFlags flag)java.lang.StringFormat(boolean multiLine)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.security.cryptography.AsnEncodedData
CopyFrom, getOid, getRawData, setOid, setRawData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.X509Certificates.X500DistinguishedName- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X500DistinguishedName
public X500DistinguishedName(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
X500DistinguishedName
public X500DistinguishedName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
X500DistinguishedName
public X500DistinguishedName(byte[] encodedDistinguishedName) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
X500DistinguishedName
public X500DistinguishedName(AsnEncodedData encodedDistinguishedName) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
X500DistinguishedName
public X500DistinguishedName(X500DistinguishedName distinguishedName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryException
-
X500DistinguishedName
public X500DistinguishedName(java.lang.String distinguishedName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
X500DistinguishedName
public X500DistinguishedName(java.lang.String distinguishedName, X500DistinguishedNameFlags flag) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classAsnEncodedData- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classAsnEncodedData- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classAsnEncodedData- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classAsnEncodedData- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classAsnEncodedData
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classAsnEncodedData- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static X500DistinguishedName cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoX500DistinguishedName, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
X500DistinguishedNameinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Decode
public java.lang.String Decode(X500DistinguishedNameFlags flag) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionOutOfMemoryException
-
Format
public java.lang.String Format(boolean multiLine) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException- Overrides:
Formatin classAsnEncodedData- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, CryptographicException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCryptographicExceptionOutOfMemoryException
-
-