Class X509Certificate2
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.x509certificates.X509Certificate
-
- system.security.cryptography.x509certificates.X509Certificate2
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDeserializationCallback
,ISerializable
public class X509Certificate2 extends X509Certificate
The base .NET class managing System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.X509Certificates.X509Certificate2
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.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.X509Certificate2static JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description X509Certificate2()
X509Certificate2(byte[] rawData)
X509Certificate2(byte[] rawData, java.lang.String password)
X509Certificate2(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags)
X509Certificate2(byte[] rawData, SecureString password)
X509Certificate2(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags)
X509Certificate2(java.lang.Object instance)
Internal constructor.X509Certificate2(java.lang.String fileName)
X509Certificate2(java.lang.String fileName, java.lang.String password)
X509Certificate2(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags)
X509Certificate2(java.lang.String fileName, SecureString password)
X509Certificate2(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags)
X509Certificate2(X509Certificate certificate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X509Certificate2
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoX509Certificate2
, a cast assert is made to check if types are compatible.X509Certificate2
CopyWithPrivateKey(ECDiffieHellman privateKey)
static X509Certificate2
CreateFromPemFile(java.lang.String certPemFilePath, java.lang.String keyPemFilePath)
java.lang.String
ExportCertificatePem()
boolean
getArchived()
static X509ContentType
GetCertContentType(byte[] rawData)
static X509ContentType
GetCertContentType(java.lang.String fileName)
static X509ContentType
GetCertContentType(JCORefOut dupParam0)
ECDiffieHellman
GetECDiffieHellmanPrivateKey()
ECDiffieHellman
GetECDiffieHellmanPublicKey()
X509ExtensionCollection
getExtensions()
java.lang.String
getFriendlyName()
boolean
getHasPrivateKey()
X500DistinguishedName
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
GetNameInfo(X509NameType nameType, boolean forIssuer)
DateTime
getNotAfter()
DateTime
getNotBefore()
AsymmetricAlgorithm
getPrivateKey()
PublicKey
getPublicKey()
byte[]
getRawData()
java.lang.String
getSerialNumber()
Oid
getSignatureAlgorithm()
X500DistinguishedName
getSubjectName()
java.lang.String
getThumbprint()
int
getVersion()
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)
boolean
MatchesHostname(java.lang.String hostname, boolean allowWildcards, boolean allowCommonName)
void
Reset()
void
setArchived(boolean Archived)
void
setFriendlyName(java.lang.String FriendlyName)
void
setJCOInstance(JCObject instance)
void
setPrivateKey(AsymmetricAlgorithm PrivateKey)
java.lang.String
ToString(boolean verbose)
boolean
Verify()
-
Methods inherited from class system.security.cryptography.x509certificates.X509Certificate
close, CreateFromCertFile, CreateFromSignedFile, Dispose, Equals, Export, Export, Export, GetCertHash, GetCertHash, GetCertHashString, GetCertHashString, GetEffectiveDateString, GetExpirationDateString, GetFormat, getIssuer, GetIssuerName, GetKeyAlgorithm, GetKeyAlgorithmParameters, GetKeyAlgorithmParametersString, GetName, GetPublicKey, GetPublicKeyString, GetRawCertData, GetRawCertDataString, GetSerialNumber, GetSerialNumberString, getSubject
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.IDeserializationCallback
OnDeserialization
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.X509Certificates.X509Certificate2- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X509Certificate2
public X509Certificate2(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
X509Certificate2
public X509Certificate2() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
X509Certificate2
public X509Certificate2(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, AsnContentException, Pkcs12LoadLimitExceededException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
FormatException
AsnContentException
Pkcs12LoadLimitExceededException
IOException
-
X509Certificate2
public X509Certificate2(byte[] rawData, SecureString password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
MissingMethodException
TargetInvocationException
AsnContentException
Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
OutOfMemoryException
MissingMethodException
TargetInvocationException
IndexOutOfRangeException
FormatException
CryptographicException
AsnContentException
Pkcs12LoadLimitExceededException
IOException
-
X509Certificate2
public X509Certificate2(byte[] rawData, java.lang.String password) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
OutOfMemoryException
MissingMethodException
TargetInvocationException
InvalidOperationException
CryptographicException
AsnContentException
Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AsnContentException, Pkcs12LoadLimitExceededException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
ObjectDisposedException
CryptographicException
OutOfMemoryException
MissingMethodException
TargetInvocationException
AsnContentException
Pkcs12LoadLimitExceededException
IOException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, SecureString password) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException, AsnContentException, ArgumentOutOfRangeException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
CryptographicException
OutOfMemoryException
MissingMethodException
TargetInvocationException
AsnContentException
ArgumentOutOfRangeException
Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
MissingMethodException
TargetInvocationException
CryptographicException
AsnContentException
Pkcs12LoadLimitExceededException
IOException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName, java.lang.String password) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
MissingMethodException
TargetInvocationException
InvalidOperationException
CryptographicException
AsnContentException
Pkcs12LoadLimitExceededException
-
X509Certificate2
public X509Certificate2(java.lang.String fileName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingMethodException, TargetInvocationException, InvalidOperationException, CryptographicException, AsnContentException, Pkcs12LoadLimitExceededException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
MissingMethodException
TargetInvocationException
InvalidOperationException
CryptographicException
AsnContentException
Pkcs12LoadLimitExceededException
-
-
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 classX509Certificate
- 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 classX509Certificate
- 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 classX509Certificate
- 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 classX509Certificate
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classX509Certificate
-
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 classX509Certificate
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static X509Certificate2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoX509Certificate2
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
X509Certificate2
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
MatchesHostname
public boolean MatchesHostname(java.lang.String hostname, boolean allowWildcards, boolean allowCommonName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, UnreachableException, CryptographicException, AsnContentException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
UnreachableException
CryptographicException
AsnContentException
ExternalException
CultureNotFoundException
-
Verify
public boolean Verify() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OverflowException, MissingMethodException, TargetInvocationException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
OverflowException
MissingMethodException
TargetInvocationException
OutOfMemoryException
-
GetECDiffieHellmanPrivateKey
public ECDiffieHellman GetECDiffieHellmanPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
CryptographicException
RankException
ArrayTypeMismatchException
NotSupportedException
OutOfMemoryException
-
GetECDiffieHellmanPublicKey
public ECDiffieHellman GetECDiffieHellmanPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
CryptographicException
RankException
ArrayTypeMismatchException
NotSupportedException
OutOfMemoryException
-
CopyWithPrivateKey
public X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CryptographicException
IndexOutOfRangeException
OutOfMemoryException
CultureNotFoundException
-
CreateFromPemFile
public static X509Certificate2 CreateFromPemFile(java.lang.String certPemFilePath, java.lang.String keyPemFilePath) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, CryptographicException, AsnContentException, MissingMethodException, TargetInvocationException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
CryptographicException
AsnContentException
MissingMethodException
TargetInvocationException
NotImplementedException
-
GetCertContentType
public static X509ContentType GetCertContentType(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetCertContentType
public static X509ContentType GetCertContentType(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetCertContentType
public static X509ContentType GetCertContentType(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, NullReferenceException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
NullReferenceException
ExternalException
CultureNotFoundException
-
ExportCertificatePem
public java.lang.String ExportCertificatePem() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException, NotSupportedException
-
GetNameInfo
public java.lang.String GetNameInfo(X509NameType nameType, boolean forIssuer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(boolean verbose) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, IndexOutOfRangeException, CryptographicException, ArgumentNullException, CultureNotFoundException, NullReferenceException, RankException, InvalidCastException, TypeInitializationException, InvalidOperationException, FormatException, OverflowException
- Overrides:
ToString
in classX509Certificate
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
IndexOutOfRangeException
CryptographicException
ArgumentNullException
CultureNotFoundException
NullReferenceException
RankException
InvalidCastException
TypeInitializationException
InvalidOperationException
FormatException
OverflowException
-
Import
public void Import(byte[] rawData, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(byte[] rawData, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(java.lang.String fileName, SecureString password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(java.lang.String fileName, java.lang.String password, X509KeyStorageFlags keyStorageFlags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Import
public void Import(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
- Overrides:
Import
in classX509Certificate
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
-
Reset
public void Reset() throws java.lang.Throwable
- Overrides:
Reset
in classX509Certificate
- Throws:
java.lang.Throwable
-
getArchived
public boolean getArchived() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setArchived
public void setArchived(boolean Archived) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getHasPrivateKey
public boolean getHasPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getRawData
public byte[] getRawData() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException
-
getVersion
public int getVersion() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getNotAfter
public DateTime getNotAfter() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
-
getNotBefore
public DateTime getNotBefore() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
-
getPrivateKey
public AsymmetricAlgorithm getPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setPrivateKey
public void setPrivateKey(AsymmetricAlgorithm PrivateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getSignatureAlgorithm
public Oid getSignatureAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getPublicKey
public PublicKey getPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
OutOfMemoryException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
ExternalException
-
getIssuerName
public X500DistinguishedName getIssuerName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getSubjectName
public X500DistinguishedName getSubjectName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getExtensions
public X509ExtensionCollection getExtensions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
CryptographicException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
getFriendlyName
public java.lang.String getFriendlyName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
setFriendlyName
public void setFriendlyName(java.lang.String FriendlyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
-
getSerialNumber
public java.lang.String getSerialNumber() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException
-
getThumbprint
public java.lang.String getThumbprint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException
-
-