Class X509Certificate
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.x509certificates.X509Certificate
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
,IDeserializationCallback
,ISerializable
- Direct Known Subclasses:
X509Certificate2
public class X509Certificate extends NetObject implements IDeserializationCallback, ISerializable, AutoCloseable
The base .NET class managing System.Security.Cryptography.X509Certificates.X509Certificate, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: mscorlibstatic 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, String password)
X509Certificate(byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
X509Certificate(byte[] rawData, SecureString password)
X509Certificate(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
X509Certificate(Object instance)
Internal constructor.X509Certificate(String fileName)
X509Certificate(String fileName, String password)
X509Certificate(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
X509Certificate(String fileName, SecureString password)
X509Certificate(String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
X509Certificate(SerializationInfo info, StreamingContext context)
X509Certificate(X509Certificate cert)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated 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(String filename)
static X509Certificate
CreateFromSignedFile(String filename)
void
Dispose()
boolean
Equals(X509Certificate other)
byte[]
Export(X509ContentType contentType)
byte[]
Export(X509ContentType contentType, String password)
byte[]
Export(X509ContentType contentType, SecureString password)
byte[]
GetCertHash()
byte[]
GetCertHash(HashAlgorithmName hashAlgorithm)
String
GetCertHashString()
String
GetCertHashString(HashAlgorithmName hashAlgorithm)
String
GetEffectiveDateString()
String
GetExpirationDateString()
String
GetFormat()
String
getIssuer()
String
GetIssuerName()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
GetKeyAlgorithm()
byte[]
GetKeyAlgorithmParameters()
String
GetKeyAlgorithmParametersString()
String
GetName()
void
GetObjectData(SerializationInfo info, StreamingContext context)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.byte[]
GetPublicKey()
String
GetPublicKeyString()
byte[]
GetRawCertData()
String
GetRawCertDataString()
byte[]
GetSerialNumber()
String
GetSerialNumberString()
String
getSubject()
void
Import(byte[] rawData)
void
Import(byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
void
Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
void
Import(String fileName)
void
Import(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
void
Import(String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
void
Import(JCORefOut dupParam0)
void
Import(JCORefOut dupParam0, String dupParam1, X509KeyStorageFlags dupParam2)
void
Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2)
void
OnDeserialization(NetObject sender)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
Reset()
void
setJCOInstance(JCObject instance)
String
ToString(boolean fVerbose)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Security.Cryptography.X509Certificates.X509Certificate- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X509Certificate
public X509Certificate(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
X509Certificate
public X509Certificate() throws Throwable, ArgumentNullException
- Throws:
Throwable
ArgumentNullException
-
X509Certificate
public X509Certificate(byte[] data) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(byte[] rawData, SecureString password) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(byte[] rawData, String password) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(SerializationInfo info, StreamingContext context) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, SerializationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
X509Certificate
public X509Certificate(X509Certificate cert) throws Throwable, ArgumentNullException, AccessViolationException
-
X509Certificate
public X509Certificate(String fileName) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
X509Certificate
public X509Certificate(String fileName, SecureString password) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
X509Certificate
public X509Certificate(String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
X509Certificate
public X509Certificate(String fileName, String password) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
X509Certificate
public X509Certificate(String fileName, String password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(X509Certificate other) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, NullReferenceException
-
Export
public byte[] Export(X509ContentType contentType) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CryptographicException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException
-
Export
public byte[] Export(X509ContentType contentType, SecureString password) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CryptographicException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException
-
Export
public byte[] Export(X509ContentType contentType, String password) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CryptographicException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException
-
GetCertHash
public byte[] GetCertHash() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
GetCertHash
public byte[] GetCertHash(HashAlgorithmName hashAlgorithm) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException, IndexOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, ObjectDisposedException, UnauthorizedAccessException, IOException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
CryptographicException
IndexOutOfRangeException
NotSupportedException
SecurityException
ApplicationException
ObjectDisposedException
UnauthorizedAccessException
IOException
-
GetKeyAlgorithmParameters
public byte[] GetKeyAlgorithmParameters() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetPublicKey
public byte[] GetPublicKey() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetRawCertData
public byte[] GetRawCertData() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
GetSerialNumber
public byte[] GetSerialNumber() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
CreateFromCertFile
public static X509Certificate CreateFromCertFile(String filename) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
CreateFromSignedFile
public static X509Certificate CreateFromSignedFile(String filename) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
GetCertHashString
public String GetCertHashString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
GetCertHashString
public String GetCertHashString(HashAlgorithmName hashAlgorithm) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, IndexOutOfRangeException, SecurityException, NotSupportedException, ApplicationException, ObjectDisposedException, UnauthorizedAccessException, IOException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
CryptographicException
IndexOutOfRangeException
SecurityException
NotSupportedException
ApplicationException
ObjectDisposedException
UnauthorizedAccessException
IOException
-
GetEffectiveDateString
public String GetEffectiveDateString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, OverflowException, TypeInitializationException, IndexOutOfRangeException, NullReferenceException
-
GetExpirationDateString
public String GetExpirationDateString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, OverflowException, TypeInitializationException, IndexOutOfRangeException, NullReferenceException
-
GetIssuerName
public String GetIssuerName() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetKeyAlgorithm
public String GetKeyAlgorithm() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetKeyAlgorithmParametersString
public String GetKeyAlgorithmParametersString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetName
public String GetName() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
GetPublicKeyString
public String GetPublicKeyString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
GetRawCertDataString
public String GetRawCertDataString() throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
GetSerialNumberString
public String GetSerialNumberString() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
ToString
public String ToString(boolean fVerbose) throws Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, IndexOutOfRangeException, CryptographicException, InvalidOperationException, OutOfMemoryException, ArgumentException, OverflowException, CultureNotFoundException, TypeInitializationException, NullReferenceException
-
Dispose
public void Dispose() throws Throwable, ArgumentNullException
- Throws:
Throwable
ArgumentNullException
-
Import
public void Import(byte[] rawData) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(JCORefOut dupParam0) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(JCORefOut dupParam0, String dupParam1, X509KeyStorageFlags dupParam2) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, CryptographicException
-
Import
public void Import(String fileName) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
Import
public void Import(String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
Import
public void Import(String fileName, String password, X509KeyStorageFlags keyStorageFlags) throws Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, InvalidOperationException, NotSupportedException, OutOfMemoryException, ObjectDisposedException, CryptographicException
- Throws:
Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
InvalidOperationException
NotSupportedException
OutOfMemoryException
ObjectDisposedException
CryptographicException
-
Reset
public void Reset() throws Throwable, ArgumentNullException
- Throws:
Throwable
ArgumentNullException
-
OnDeserialization
@Deprecated public void OnDeserialization(NetObject sender) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDeserializationCallback method available in IDeserializationCallback to obtain an object with an invocable method- Specified by:
OnDeserialization
in interfaceIDeserializationCallback
- Throws:
Throwable
-
GetObjectData
@Deprecated public void GetObjectData(SerializationInfo info, StreamingContext context) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToISerializable method available in ISerializable to obtain an object with an invocable method- Specified by:
GetObjectData
in interfaceISerializable
- Throws:
Throwable
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getIssuer
public String getIssuer() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
getSubject
public String getSubject() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException
-
-