public class X509Certificate2Collection extends X509CertificateCollection
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.X509Certificates.X509Certificate2Collection
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=10.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.X509Certificate2Collection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
X509Certificate2Collection() |
X509Certificate2Collection(java.lang.Object instance)
Internal constructor.
|
X509Certificate2Collection(X509Certificate2 certificate) |
X509Certificate2Collection(X509Certificate2[] certificates) |
X509Certificate2Collection(X509Certificate2Collection certificates) |
| Modifier and Type | Method and Description |
|---|---|
int |
Add(X509Certificate2 certificate) |
void |
AddRange(X509Certificate2[] certificates) |
void |
AddRange(X509Certificate2Collection certificates) |
static X509Certificate2Collection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into X509Certificate2Collection, a cast assert is made to check if types are compatible. |
boolean |
Contains(X509Certificate2 certificate) |
byte[] |
Export(X509ContentType contentType) |
byte[] |
Export(X509ContentType contentType,
java.lang.String password) |
java.lang.String |
ExportCertificatePems() |
byte[] |
ExportPkcs12(PbeParameters exportParameters,
java.lang.String password) |
byte[] |
ExportPkcs12(Pkcs12ExportPbeParameters exportParameters,
java.lang.String password) |
java.lang.String |
ExportPkcs7Pem() |
X509Certificate2Collection |
Find(X509FindType findType,
NetObject findValue,
boolean validOnly) |
X509Certificate2Collection |
FindByThumbprint(HashAlgorithmName hashAlgorithm,
java.lang.String thumbprintHex) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
Import(byte[] rawData) |
void |
Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
void |
Import(JCORefOut dupParam0) |
void |
Import(JCORefOut dupParam0,
java.lang.String dupParam1,
X509KeyStorageFlags dupParam2) |
void |
Import(java.lang.String fileName) |
void |
Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
void |
ImportFromPemFile(java.lang.String certPemFilePath) |
void |
Insert(int index,
X509Certificate2 certificate) |
void |
Remove(X509Certificate2 certificate) |
void |
RemoveRange(X509Certificate2[] certificates) |
void |
RemoveRange(X509Certificate2Collection certificates) |
void |
setJCOInstance(JCObject instance) |
Add, AddRange, AddRange, Contains, CopyTo, IndexOf, Insert, RemoveClear, getCapacity, getCount, RemoveAt, setCapacityGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public X509Certificate2Collection()
throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate2Collection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate2Collection(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic X509Certificate2Collection(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic X509Certificate2Collection(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic int Add(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void AddRange(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void AddRange(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static X509Certificate2Collection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into X509Certificate2Collection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedX509Certificate2Collection instancejava.lang.Throwable - in case of error during cast operationpublic boolean Contains(X509Certificate2 certificate) throws java.lang.Throwable
java.lang.Throwablepublic byte[] Export(X509ContentType contentType) throws java.lang.Throwable, PlatformNotSupportedException, MissingMethodException, TargetInvocationException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, NotSupportedException, InvalidOperationException, FormatException, CryptographicException, OutOfMemoryException, NullReferenceException
java.lang.ThrowablePlatformNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionNullReferenceExceptionpublic byte[] Export(X509ContentType contentType, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ArgumentException, MissingMethodException, TargetInvocationException, ObjectDisposedException, ArrayTypeMismatchException, NotSupportedException, InvalidOperationException, CryptographicException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionArrayTypeMismatchExceptionNotSupportedExceptionInvalidOperationExceptionCryptographicExceptionpublic java.lang.String ExportCertificatePems()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
NotSupportedException,
ArgumentNullException
public byte[] ExportPkcs12(PbeParameters exportParameters, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionpublic byte[] ExportPkcs12(Pkcs12ExportPbeParameters exportParameters, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, FormatException, CryptographicException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionCryptographicExceptionpublic java.lang.String ExportPkcs7Pem()
throws java.lang.Throwable,
MissingMethodException,
TargetInvocationException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
FormatException,
CryptographicException,
OutOfMemoryException,
NullReferenceException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
java.lang.ThrowableMissingMethodExceptionTargetInvocationExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionNullReferenceExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionpublic X509Certificate2Collection Find(X509FindType findType, NetObject findValue, boolean validOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, CryptographicException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionOverflowExceptionpublic X509Certificate2Collection FindByThumbprint(HashAlgorithmName hashAlgorithm, java.lang.String thumbprintHex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, CryptographicException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionUnreachableExceptionIndexOutOfRangeExceptionCryptographicExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class X509CertificateCollectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class X509CertificateCollectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class X509CertificateCollectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class X509CertificateCollectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class X509CertificateCollectionJCType representing the CLR Type of the instantiated Classpublic void Import(byte[] rawData)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
NullReferenceException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
FormatException,
AsnContentException,
CryptographicException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException,
FormatException,
AsnContentException,
CryptographicException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, NullReferenceException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, AsnContentException, CryptographicException, Pkcs12LoadLimitExceededException, IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, CryptographicException, Pkcs12LoadLimitExceededException, IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void Import(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
NullReferenceException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
FormatException,
AsnContentException,
CryptographicException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
FormatException,
AsnContentException,
CryptographicException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionAsnContentExceptionCryptographicExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic void ImportFromPemFile(java.lang.String certPemFilePath)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
IndexOutOfRangeException,
CryptographicException,
AsnContentException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionpublic void Insert(int index,
X509Certificate2 certificate)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void Remove(X509Certificate2 certificate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void RemoveRange(X509Certificate2[] certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void RemoveRange(X509Certificate2Collection certificates) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class X509CertificateCollection