Class X509Certificate
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.x509certificates.X509Certificate
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDeserializationCallback,ISerializable
- Direct Known Subclasses:
X509Certificate2
public class X509Certificate extends NetObject implements IDeserializationCallback, ISerializable, java.lang.AutoCloseable
The base .NET class managing System.Security.Cryptography.X509Certificates.X509Certificate, System.Security.Cryptography, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.X509Certificates.X509Certificate
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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptographystatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.X509Certificates.X509Certificatestatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description X509Certificate()X509Certificate(byte[] data)X509Certificate(byte[] rawData, java.lang.String password)X509Certificate(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)X509Certificate(byte[] rawData, SecureString password)X509Certificate(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)X509Certificate(java.lang.Object instance)Internal constructor.X509Certificate(java.lang.String fileName)X509Certificate(java.lang.String fileName, java.lang.String password)X509Certificate(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)X509Certificate(java.lang.String fileName, SecureString password)X509Certificate(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)X509Certificate(SerializationInfo info, StreamingContext context)X509Certificate(X509Certificate cert)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X509Certificatecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoX509Certificate, a cast assert is made to check if types are compatible.voidclose()static X509CertificateCreateFromCertFile(java.lang.String filename)static X509CertificateCreateFromSignedFile(java.lang.String filename)voidDispose()booleanEquals(X509Certificate other)byte[]Export(X509ContentType contentType)byte[]Export(X509ContentType contentType, java.lang.String password)byte[]Export(X509ContentType contentType, SecureString password)byte[]ExportPkcs12(PbeParameters exportParameters, java.lang.String password)byte[]ExportPkcs12(Pkcs12ExportPbeParameters exportParameters, java.lang.String password)byte[]GetCertHash()byte[]GetCertHash(HashAlgorithmName hashAlgorithm)java.lang.StringGetCertHashString()java.lang.StringGetCertHashString(HashAlgorithmName hashAlgorithm)java.lang.StringGetEffectiveDateString()java.lang.StringGetExpirationDateString()java.lang.StringGetFormat()java.lang.StringgetIssuer()java.lang.StringGetIssuerName()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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typejava.lang.StringGetKeyAlgorithm()byte[]GetKeyAlgorithmParameters()java.lang.StringGetKeyAlgorithmParametersString()java.lang.StringGetName()byte[]GetPublicKey()java.lang.StringGetPublicKeyString()byte[]GetRawCertData()java.lang.StringGetRawCertDataString()byte[]GetSerialNumber()java.lang.StringGetSerialNumberString()java.lang.StringgetSubject()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)voidReset()voidsetJCOInstance(org.mases.jcobridge.JCObject instance)java.lang.StringToString(boolean fVerbose)-
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=10.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.X509Certificate- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
X509Certificate
public X509Certificate(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
X509Certificate
public X509Certificate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
X509Certificate
public X509Certificate(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, Pkcs12LoadLimitExceededException, ArrayTypeMismatchException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionArrayTypeMismatchExceptionIOException
-
X509Certificate
public X509Certificate(byte[] rawData, SecureString password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, ArrayTypeMismatchException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionArrayTypeMismatchExceptionIOException
-
X509Certificate
public X509Certificate(byte[] rawData, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(byte[] data) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NullReferenceException, NotSupportedException, ObjectDisposedException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionObjectDisposedExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
-
X509Certificate
public X509Certificate(X509Certificate cert) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
X509Certificate
public X509Certificate(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(java.lang.String fileName, SecureString password) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(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, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(java.lang.String fileName, java.lang.String password) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
X509Certificate
public X509Certificate(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOException
-
-
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 classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.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 classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static X509Certificate cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoX509Certificate, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
X509Certificateinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(X509Certificate other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, InvalidOperationException
-
Export
public byte[] Export(X509ContentType contentType, SecureString password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
-
Export
public byte[] Export(X509ContentType contentType, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException
-
Export
public byte[] Export(X509ContentType contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, OutOfMemoryException
-
ExportPkcs12
public byte[] ExportPkcs12(PbeParameters exportParameters, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException
-
ExportPkcs12
public byte[] ExportPkcs12(Pkcs12ExportPbeParameters exportParameters, java.lang.String password) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CryptographicException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionOutOfMemoryException
-
GetCertHash
public byte[] GetCertHash() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetCertHash
public byte[] GetCertHash(HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionRankExceptionArrayTypeMismatchException
-
GetKeyAlgorithmParameters
public byte[] GetKeyAlgorithmParameters() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetPublicKey
public byte[] GetPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetRawCertData
public byte[] GetRawCertData() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetSerialNumber
public byte[] GetSerialNumber() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
CreateFromCertFile
public static X509Certificate CreateFromCertFile(java.lang.String filename) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
CreateFromSignedFile
public static X509Certificate CreateFromSignedFile(java.lang.String filename) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededException
-
GetCertHashString
public java.lang.String GetCertHashString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetCertHashString
public java.lang.String GetCertHashString(HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetEffectiveDateString
public java.lang.String GetEffectiveDateString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, InvalidOperationException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchException
-
GetExpirationDateString
public java.lang.String GetExpirationDateString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException, FormatException, InvalidOperationException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchException
-
GetFormat
public java.lang.String GetFormat() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetIssuerName
public java.lang.String GetIssuerName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetKeyAlgorithm
public java.lang.String GetKeyAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetKeyAlgorithmParametersString
public java.lang.String GetKeyAlgorithmParametersString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetName
public java.lang.String GetName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
GetPublicKeyString
public java.lang.String GetPublicKeyString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, IndexOutOfRangeException
-
GetRawCertDataString
public java.lang.String GetRawCertDataString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetSerialNumberString
public java.lang.String GetSerialNumberString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
ToString
public java.lang.String ToString(boolean fVerbose) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, IndexOutOfRangeException, CryptographicException, ArgumentNullException, CultureNotFoundException, NullReferenceException, RankException, InvalidCastException, TypeInitializationException, InvalidOperationException, FormatException, OverflowException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCryptographicExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionRankExceptionInvalidCastExceptionTypeInitializationExceptionInvalidOperationExceptionFormatExceptionOverflowException
-
Dispose
public void Dispose() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Import
public void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Import
public void Import(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Reset
public void Reset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getIssuer
public java.lang.String getIssuer() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getSubject
public java.lang.String getSubject() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
-