Class X509Certificate2Collection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.collections.CollectionBase
-
- system.security.cryptography.x509certificates.X509CertificateCollection
-
- system.security.cryptography.x509certificates.X509Certificate2Collection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class X509Certificate2Collection extends X509CertificateCollection
The base .NET class managing System.Security.Cryptography.X509Certificates.X509Certificate2Collection, System.Security.Cryptography.X509Certificates, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Security.Cryptography.X509Certificates, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptography.X509Certificatesstatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.X509Certificates.X509Certificate2Collectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description X509Certificate2Collection()X509Certificate2Collection(java.lang.Object instance)Internal constructor.X509Certificate2Collection(X509Certificate2 certificate)X509Certificate2Collection(X509Certificate2[] certificates)X509Certificate2Collection(X509Certificate2Collection certificates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(X509Certificate2 certificate)voidAddRange(X509Certificate2[] certificates)voidAddRange(X509Certificate2Collection certificates)static X509Certificate2Collectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoX509Certificate2Collection, a cast assert is made to check if types are compatible.booleanContains(X509Certificate2 certificate)byte[]Export(X509ContentType contentType)byte[]Export(X509ContentType contentType, java.lang.String password)X509Certificate2CollectionFind(X509FindType findType, NetObject findValue, boolean validOnly)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 TypevoidImport(byte[] rawData)voidImport(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)voidImport(java.lang.String fileName)voidImport(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)voidImport(JCORefOut dupParam0)voidImport(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2)voidImportFromPemFile(java.lang.String certPemFilePath)voidInsert(int index, X509Certificate2 certificate)voidRemove(X509Certificate2 certificate)voidRemoveRange(X509Certificate2[] certificates)voidRemoveRange(X509Certificate2Collection certificates)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.security.cryptography.x509certificates.X509CertificateCollection
Add, AddRange, AddRange, Contains, CopyTo, IndexOf, Insert, Remove
-
Methods inherited from class system.collections.CollectionBase
Clear, getCapacity, getCount, RemoveAt, setCapacity
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography.X509Certificates, Version=5.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.X509Certificates- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.X509Certificates.X509Certificate2Collection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X509Certificate2Collection
public X509Certificate2Collection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
X509Certificate2Collection
public X509Certificate2Collection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
X509Certificate2Collection
public X509Certificate2Collection(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException
-
X509Certificate2Collection
public X509Certificate2Collection(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException
-
X509Certificate2Collection
public X509Certificate2Collection(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classX509CertificateCollection- 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 classX509CertificateCollection- 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 classX509CertificateCollection- 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 classX509CertificateCollection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classX509CertificateCollection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classX509CertificateCollection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static X509Certificate2Collection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoX509Certificate2Collection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
X509Certificate2Collectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(X509Certificate2 certificate) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Export
public byte[] Export(X509ContentType contentType, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentException, IndexOutOfRangeException, CryptographicException
-
Export
public byte[] Export(X509ContentType contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentException, IndexOutOfRangeException, CryptographicException
-
Add
public int Add(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
Find
public X509Certificate2Collection Find(X509FindType findType, NetObject findValue, boolean validOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, CryptographicException
-
AddRange
public void AddRange(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
AddRange
public void AddRange(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
Import
public void Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, SerializationException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionSerializationExceptionIOException
-
Import
public void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, SerializationException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionSerializationExceptionIOException
-
Import
public void Import(byte[] rawData) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, SerializationException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionSerializationExceptionIOException
-
Import
public void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, SerializationException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionSerializationExceptionIOException
-
Import
public void Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, FormatException, OutOfMemoryException, CryptographicException, SerializationException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionOutOfMemoryExceptionCryptographicExceptionSerializationExceptionIOException
-
Import
public void Import(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, FormatException, SerializationException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionFormatExceptionSerializationExceptionIOException
-
ImportFromPemFile
public void ImportFromPemFile(java.lang.String certPemFilePath) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, SerializationException, IOException, OutOfMemoryException, CryptographicException, AsnContentException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionOutOfMemoryExceptionCryptographicExceptionAsnContentException
-
Insert
public void Insert(int index, X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
Remove
public void Remove(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
RemoveRange
public void RemoveRange(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
RemoveRange
public void RemoveRange(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
-