Class X509Certificate2
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.x509certificates.X509Certificate
-
- system.security.cryptography.x509certificates.X509Certificate2
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDeserializationCallback,ISerializable
public class X509Certificate2 extends X509Certificate
The base .NET class managing System.Security.Cryptography.X509Certificates.X509Certificate2, 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.X509Certificate2
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.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptographystatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.X509Certificates.X509Certificate2static JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description X509Certificate2()X509Certificate2(byte[] rawData)X509Certificate2(byte[] rawData, java.lang.String password)X509Certificate2(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)X509Certificate2(byte[] rawData, SecureString password)X509Certificate2(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)X509Certificate2(java.lang.Object instance)Internal constructor.X509Certificate2(java.lang.String fileName)X509Certificate2(java.lang.String fileName, java.lang.String password)X509Certificate2(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)X509Certificate2(java.lang.String fileName, SecureString password)X509Certificate2(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)X509Certificate2(X509Certificate certificate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X509Certificate2cast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoX509Certificate2, a cast assert is made to check if types are compatible.X509Certificate2CopyWithPrivateKey(ECDiffieHellman privateKey)static X509Certificate2CreateFromPemFile(java.lang.String certPemFilePath, java.lang.String keyPemFilePath)java.lang.StringExportCertificatePem()booleangetArchived()static X509ContentTypeGetCertContentType(byte[] rawData)static X509ContentTypeGetCertContentType(java.lang.String fileName)static X509ContentTypeGetCertContentType(JCORefOut dupParam0)ECDiffieHellmanGetECDiffieHellmanPrivateKey()ECDiffieHellmanGetECDiffieHellmanPublicKey()X509ExtensionCollectiongetExtensions()java.lang.StringgetFriendlyName()booleangetHasPrivateKey()X500DistinguishedNamegetIssuerName()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.StringGetNameInfo(X509NameType nameType, boolean forIssuer)DateTimegetNotAfter()DateTimegetNotBefore()AsymmetricAlgorithmgetPrivateKey()PublicKeygetPublicKey()byte[]getRawData()java.lang.StringgetSerialNumber()OidgetSignatureAlgorithm()X500DistinguishedNamegetSubjectName()java.lang.StringgetThumbprint()intgetVersion()voidImport(byte[] rawData)voidImport(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)voidImport(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)voidImport(java.lang.String fileName)voidImport(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)voidImport(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)voidImport(JCORefOut dupParam0)voidImport(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2)voidImport(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2)booleanMatchesHostname(java.lang.String hostname, boolean allowWildcards, boolean allowCommonName)voidReset()voidsetArchived(boolean Archived)voidsetFriendlyName(java.lang.String FriendlyName)voidsetJCOInstance(JCObject instance)voidsetPrivateKey(AsymmetricAlgorithm PrivateKey)java.lang.StringToString(boolean verbose)booleanVerify()-
Methods inherited from class system.security.cryptography.x509certificates.X509Certificate
close, CreateFromCertFile, CreateFromSignedFile, Dispose, Equals, Export, Export, Export, GetCertHash, GetCertHash, GetCertHashString, GetCertHashString, GetEffectiveDateString, GetExpirationDateString, GetFormat, getIssuer, GetIssuerName, GetKeyAlgorithm, GetKeyAlgorithmParameters, GetKeyAlgorithmParametersString, GetName, GetPublicKey, GetPublicKeyString, GetRawCertData, GetRawCertDataString, GetSerialNumber, GetSerialNumberString, getSubject
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.IDeserializationCallback
OnDeserialization
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
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.X509Certificate2- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X509Certificate2
public X509Certificate2(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
X509Certificate2
public X509Certificate2() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
X509Certificate2
public X509Certificate2(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate2
public X509Certificate2(byte[] rawData, SecureString password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, AsnContentException, Pkcs12LoadLimitExceededException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate2
public X509Certificate2(byte[] rawData, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, SecureString password) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AsnContentException, ArgumentOutOfRangeException, Pkcs12LoadLimitExceededException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionArgumentOutOfRangeExceptionPkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, java.lang.String password) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDeserializationCallback- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISerializable- Overrides:
getJCOAssemblyNamein classX509Certificate- 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 interfaceIDeserializationCallback- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceISerializable- Overrides:
getJCOClassNamein classX509Certificate- 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 interfaceIDeserializationCallback- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceISerializable- Overrides:
getJCOObjectNamein classX509Certificate- 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 interfaceIDeserializationCallback- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceISerializable- Overrides:
getJCOInstancein classX509Certificate- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classX509Certificate
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDeserializationCallback- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISerializable- Overrides:
getJCOTypein classX509Certificate- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static X509Certificate2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoX509Certificate2, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
X509Certificate2instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
MatchesHostname
public boolean MatchesHostname(java.lang.String hostname, boolean allowWildcards, boolean allowCommonName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, UnreachableException, CryptographicException, AsnContentException, ExternalException, CultureNotFoundException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionUnreachableExceptionCryptographicExceptionAsnContentExceptionExternalExceptionCultureNotFoundException
-
Verify
public boolean Verify() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryException
-
GetECDiffieHellmanPrivateKey
public ECDiffieHellman GetECDiffieHellmanPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionArrayTypeMismatchExceptionNotSupportedExceptionOutOfMemoryException
-
GetECDiffieHellmanPublicKey
public ECDiffieHellman GetECDiffieHellmanPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionArrayTypeMismatchExceptionNotSupportedExceptionOutOfMemoryException
-
CopyWithPrivateKey
public X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundException
-
CreateFromPemFile
public static X509Certificate2 CreateFromPemFile(java.lang.String certPemFilePath, java.lang.String keyPemFilePath) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, CryptographicException, AsnContentException, MissingMethodException, TargetInvocationException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedException
-
GetCertContentType
public static X509ContentType GetCertContentType(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetCertContentType
public static X509ContentType GetCertContentType(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetCertContentType
public static X509ContentType GetCertContentType(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundException
-
ExportCertificatePem
public java.lang.String ExportCertificatePem() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException, NotSupportedException
-
GetNameInfo
public java.lang.String GetNameInfo(X509NameType nameType, boolean forIssuer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(boolean verbose) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, IndexOutOfRangeException, CryptographicException, ArgumentNullException, CultureNotFoundException, NullReferenceException, RankException, InvalidCastException, TypeInitializationException, InvalidOperationException, FormatException, OverflowException- Overrides:
ToStringin classX509Certificate- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCryptographicExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionRankExceptionInvalidCastExceptionTypeInitializationExceptionInvalidOperationExceptionFormatExceptionOverflowException
-
Import
public void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Import
public void Import(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException- Overrides:
Importin classX509Certificate- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedException
-
Reset
public void Reset() throws java.lang.Throwable- Overrides:
Resetin classX509Certificate- Throws:
java.lang.Throwable
-
getArchived
public boolean getArchived() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setArchived
public void setArchived(boolean Archived) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getHasPrivateKey
public boolean getHasPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getRawData
public byte[] getRawData() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
getVersion
public int getVersion() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getNotAfter
public DateTime getNotAfter() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
-
getNotBefore
public DateTime getNotBefore() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
-
getPrivateKey
public AsymmetricAlgorithm getPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setPrivateKey
public void setPrivateKey(AsymmetricAlgorithm PrivateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getSignatureAlgorithm
public Oid getSignatureAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getPublicKey
public PublicKey getPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, ExternalException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionExternalException
-
getIssuerName
public X500DistinguishedName getIssuerName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getSubjectName
public X500DistinguishedName getSubjectName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getExtensions
public X509ExtensionCollection getExtensions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
getFriendlyName
public java.lang.String getFriendlyName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setFriendlyName
public void setFriendlyName(java.lang.String FriendlyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getSerialNumber
public java.lang.String getSerialNumber() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException
-
getThumbprint
public java.lang.String getThumbprint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException
-
-