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=8.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.String
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Security.Cryptographystatic java.lang.String
className
Qualified class name: System.Security.Cryptography.X509Certificates.X509Certificatestatic JCType
classType
The 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 X509Certificate
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoX509Certificate
, a cast assert is made to check if types are compatible.void
close()
static X509Certificate
CreateFromCertFile(java.lang.String filename)
static X509Certificate
CreateFromSignedFile(java.lang.String filename)
void
Dispose()
boolean
Equals(X509Certificate other)
byte[]
Export(X509ContentType contentType)
byte[]
Export(X509ContentType contentType, java.lang.String password)
byte[]
Export(X509ContentType contentType, SecureString password)
byte[]
GetCertHash()
byte[]
GetCertHash(HashAlgorithmName hashAlgorithm)
java.lang.String
GetCertHashString()
java.lang.String
GetCertHashString(HashAlgorithmName hashAlgorithm)
java.lang.String
GetEffectiveDateString()
java.lang.String
GetExpirationDateString()
java.lang.String
GetFormat()
java.lang.String
getIssuer()
java.lang.String
GetIssuerName()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
GetKeyAlgorithm()
byte[]
GetKeyAlgorithmParameters()
java.lang.String
GetKeyAlgorithmParametersString()
java.lang.String
GetName()
byte[]
GetPublicKey()
java.lang.String
GetPublicKeyString()
byte[]
GetRawCertData()
java.lang.String
GetRawCertDataString()
byte[]
GetSerialNumber()
java.lang.String
GetSerialNumberString()
java.lang.String
getSubject()
void
Import(byte[] rawData)
void
Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)
void
Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
void
Import(java.lang.String fileName)
void
Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)
void
Import(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
void
Import(JCORefOut dupParam0)
void
Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2)
void
Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2)
void
Reset()
void
setJCOInstance(JCObject instance)
java.lang.String
ToString(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=8.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
-
-
Constructor Detail
-
X509Certificate
public X509Certificate(java.lang.Object instance) throws java.lang.Throwable
Internal 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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(byte[] rawData, SecureString password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IndexOutOfRangeException
FormatException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(byte[] rawData, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IndexOutOfRangeException
FormatException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(byte[] data) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, CryptographicException, SerializationException, IOException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
CryptographicException
SerializationException
IOException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, 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, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, SerializationException, IOException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
SerializationException
IOException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(java.lang.String fileName, SecureString password) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ObjectDisposedException, CryptographicException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
ObjectDisposedException
CryptographicException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
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, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, SerializationException, IOException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IndexOutOfRangeException
FormatException
CryptographicException
SerializationException
IOException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(java.lang.String fileName, java.lang.String password) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
X509Certificate
public X509Certificate(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AbandonedMutexException, AsnContentException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AbandonedMutexException
AsnContentException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDeserializationCallback
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDeserializationCallback
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDeserializationCallback
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDeserializationCallback
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDeserializationCallback
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static X509Certificate cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoX509Certificate
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
X509Certificate
instance- 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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException
-
Export
public byte[] Export(X509ContentType contentType, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException
-
Export
public byte[] Export(X509ContentType contentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, OutOfMemoryException
-
GetCertHash
public byte[] GetCertHash() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetCertHash
public byte[] GetCertHash(HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, NotSupportedException, ArrayTypeMismatchException
-
GetKeyAlgorithmParameters
public byte[] GetKeyAlgorithmParameters() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetPublicKey
public byte[] GetPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetRawCertData
public byte[] GetRawCertData() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetSerialNumber
public byte[] GetSerialNumber() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, NotSupportedException
-
CreateFromCertFile
public static X509Certificate CreateFromCertFile(java.lang.String filename) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AsnContentException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AsnContentException
-
CreateFromSignedFile
public static X509Certificate CreateFromSignedFile(java.lang.String filename) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, CryptographicException, SerializationException, IOException, ArrayTypeMismatchException, AsnContentException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
CryptographicException
SerializationException
IOException
ArrayTypeMismatchException
AsnContentException
-
GetCertHashString
public java.lang.String GetCertHashString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetCertHashString
public java.lang.String GetCertHashString(HashAlgorithmName hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, NotSupportedException, ArrayTypeMismatchException
-
GetEffectiveDateString
public java.lang.String GetEffectiveDateString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, OutOfMemoryException, FormatException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
CryptographicException
OutOfMemoryException
FormatException
InvalidOperationException
IndexOutOfRangeException
NotSupportedException
OverflowException
-
GetExpirationDateString
public java.lang.String GetExpirationDateString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, OutOfMemoryException, FormatException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
CryptographicException
OutOfMemoryException
FormatException
InvalidOperationException
IndexOutOfRangeException
NotSupportedException
OverflowException
-
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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetKeyAlgorithm
public java.lang.String GetKeyAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetKeyAlgorithmParametersString
public java.lang.String GetKeyAlgorithmParametersString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetName
public java.lang.String GetName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
GetPublicKeyString
public java.lang.String GetPublicKeyString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException
-
GetRawCertDataString
public java.lang.String GetRawCertDataString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
GetSerialNumberString
public java.lang.String GetSerialNumberString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException
-
ToString
public java.lang.String ToString(boolean fVerbose) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, CryptographicException, CultureNotFoundException, RankException, TypeInitializationException, FormatException, OverflowException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
ArgumentNullException
IndexOutOfRangeException
CryptographicException
CultureNotFoundException
RankException
TypeInitializationException
FormatException
OverflowException
-
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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Import
public void Import(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Reset
public void Reset() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getIssuer
public java.lang.String getIssuer() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
getSubject
public java.lang.String getSubject() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
-