public class X509Certificate2 extends X509Certificate
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Cryptography
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.X509Certificates.X509Certificate2
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
X509Certificate2() |
X509Certificate2(byte[] rawData) |
X509Certificate2(byte[] rawData,
SecureString password) |
X509Certificate2(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags) |
X509Certificate2(byte[] rawData,
java.lang.String password) |
X509Certificate2(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
X509Certificate2(java.lang.Object instance)
Internal constructor.
|
X509Certificate2(java.lang.String fileName) |
X509Certificate2(java.lang.String fileName,
SecureString password) |
X509Certificate2(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags) |
X509Certificate2(java.lang.String fileName,
java.lang.String password) |
X509Certificate2(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
X509Certificate2(X509Certificate certificate) |
| Modifier and Type | Method and Description |
|---|---|
static X509Certificate2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into X509Certificate2, a cast assert is made to check if types are compatible. |
X509Certificate2 |
CopyWithPrivateKey(CompositeMLDsa privateKey) |
X509Certificate2 |
CopyWithPrivateKey(ECDiffieHellman privateKey) |
X509Certificate2 |
CopyWithPrivateKey(MLDsa privateKey) |
X509Certificate2 |
CopyWithPrivateKey(MLKem privateKey) |
X509Certificate2 |
CopyWithPrivateKey(SlhDsa 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(JCORefOut dupParam0) |
static X509ContentType |
GetCertContentType(java.lang.String fileName) |
CompositeMLDsa |
GetCompositeMLDsaPrivateKey() |
CompositeMLDsa |
GetCompositeMLDsaPublicKey() |
ECDiffieHellman |
GetECDiffieHellmanPrivateKey() |
ECDiffieHellman |
GetECDiffieHellmanPublicKey() |
X509ExtensionCollection |
getExtensions() |
java.lang.String |
getFriendlyName() |
boolean |
getHasPrivateKey() |
X500DistinguishedName |
getIssuerName() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
MLDsa |
GetMLDsaPrivateKey() |
MLDsa |
GetMLDsaPublicKey() |
MLKem |
GetMLKemPrivateKey() |
MLKem |
GetMLKemPublicKey() |
java.lang.String |
GetNameInfo(X509NameType nameType,
boolean forIssuer) |
DateTime |
getNotAfter() |
DateTime |
getNotBefore() |
AsymmetricAlgorithm |
getPrivateKey() |
PublicKey |
getPublicKey() |
byte[] |
getRawData() |
java.lang.String |
getSerialNumber() |
Oid |
getSignatureAlgorithm() |
SlhDsa |
GetSlhDsaPrivateKey() |
SlhDsa |
GetSlhDsaPublicKey() |
X500DistinguishedName |
getSubjectName() |
java.lang.String |
getThumbprint() |
int |
getVersion() |
void |
Import(byte[] rawData) |
void |
Import(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags) |
void |
Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
void |
Import(JCORefOut dupParam0) |
void |
Import(JCORefOut dupParam0,
SecureString dupParam1,
X509KeyStorageFlags dupParam2) |
void |
Import(JCORefOut dupParam0,
java.lang.String dupParam1,
X509KeyStorageFlags dupParam2) |
void |
Import(java.lang.String fileName) |
void |
Import(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags) |
void |
Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags) |
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() |
close, CreateFromCertFile, CreateFromSignedFile, Dispose, Equals, Export, Export, Export, ExportPkcs12, ExportPkcs12, GetCertHash, GetCertHash, GetCertHashString, GetCertHashString, GetEffectiveDateString, GetExpirationDateString, GetFormat, getIssuer, GetIssuerName, GetKeyAlgorithm, GetKeyAlgorithmParameters, GetKeyAlgorithmParametersString, GetName, GetPublicKey, GetPublicKeyString, GetRawCertData, GetRawCertDataString, GetSerialNumber, GetSerialNumberString, getSubjectEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringOnDeserialization, ToIDeserializationCallbackGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public X509Certificate2()
throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate2(byte[] rawData)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentException,
NullReferenceException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
CryptographicException,
AsnContentException,
Pkcs12LoadLimitExceededException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionNullReferenceExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionpublic X509Certificate2(byte[] rawData,
SecureString password)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException,
AsnContentException,
Pkcs12LoadLimitExceededException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionpublic X509Certificate2(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException,
FormatException,
AsnContentException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic X509Certificate2(byte[] rawData,
java.lang.String password)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
CryptographicException,
AsnContentException,
Pkcs12LoadLimitExceededException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionpublic X509Certificate2(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
AsnContentException,
Pkcs12LoadLimitExceededException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic X509Certificate2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate2(java.lang.String fileName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
InvalidOperationException,
CryptographicException,
AsnContentException,
Pkcs12LoadLimitExceededException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionpublic X509Certificate2(java.lang.String fileName,
SecureString password)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
AsnContentException,
ArgumentOutOfRangeException,
Pkcs12LoadLimitExceededException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionArgumentOutOfRangeExceptionPkcs12LoadLimitExceededExceptionpublic 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
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic 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
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionInvalidOperationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionpublic 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
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionAsnContentExceptionPkcs12LoadLimitExceededExceptionIOExceptionpublic X509Certificate2(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException
public static X509Certificate2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into X509Certificate2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedX509Certificate2 instancejava.lang.Throwable - in case of error during cast operationpublic X509Certificate2 CopyWithPrivateKey(CompositeMLDsa privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, AsnContentException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionAsnContentExceptionKeyNotFoundExceptionpublic X509Certificate2 CopyWithPrivateKey(ECDiffieHellman privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, AsnContentException, OutOfMemoryException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionAsnContentExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic X509Certificate2 CopyWithPrivateKey(MLDsa privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, CultureNotFoundException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionAsnContentExceptionpublic X509Certificate2 CopyWithPrivateKey(MLKem privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, CultureNotFoundException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionAsnContentExceptionpublic X509Certificate2 CopyWithPrivateKey(SlhDsa privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, AsnContentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCultureNotFoundExceptionAsnContentExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionCryptographicExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionpublic java.lang.String ExportCertificatePem()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException
public boolean getArchived()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public static X509ContentType GetCertContentType(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public static X509ContentType GetCertContentType(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic CompositeMLDsa GetCompositeMLDsaPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException, NotSupportedException
public CompositeMLDsa GetCompositeMLDsaPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException, NullReferenceException, ExternalException, OverflowException, AsnContentException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionExternalExceptionOverflowExceptionAsnContentExceptionKeyNotFoundExceptionpublic ECDiffieHellman GetECDiffieHellmanPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, AsnContentException, NotSupportedException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionArrayTypeMismatchExceptionAsnContentExceptionNotSupportedExceptionOutOfMemoryExceptionpublic ECDiffieHellman GetECDiffieHellmanPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, AsnContentException, NotSupportedException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionArrayTypeMismatchExceptionAsnContentExceptionNotSupportedExceptionOutOfMemoryExceptionpublic X509ExtensionCollection getExtensions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic java.lang.String getFriendlyName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public boolean getHasPrivateKey()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public X500DistinguishedName getIssuerName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDeserializationCallbackgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class X509CertificateString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDeserializationCallbackgetJCOClassName in interface ISerializablegetJCOClassName in class X509CertificateString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDeserializationCallbackgetJCOInstance in interface ISerializablegetJCOInstance in class X509CertificateObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDeserializationCallbackgetJCOObjectName in interface ISerializablegetJCOObjectName in class X509CertificateString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDeserializationCallbackgetJCOType in interface ISerializablegetJCOType in class X509CertificateJCType representing the CLR Type of the instantiated Classpublic MLDsa GetMLDsaPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException
public MLDsa GetMLDsaPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NullReferenceException, ExternalException, OverflowException, AsnContentException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionExternalExceptionOverflowExceptionAsnContentExceptionMissingMethodExceptionTargetInvocationExceptionpublic MLKem GetMLKemPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException
public MLKem GetMLKemPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, NotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NullReferenceException, ExternalException, OverflowException, AsnContentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionExternalExceptionOverflowExceptionAsnContentExceptionpublic java.lang.String GetNameInfo(X509NameType nameType, boolean forIssuer) throws java.lang.Throwable
java.lang.Throwablepublic DateTime getNotAfter() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
public DateTime getNotBefore() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
public AsymmetricAlgorithm getPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
public PublicKey getPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, ExternalException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionExternalExceptionpublic byte[] getRawData()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException
public java.lang.String getSerialNumber()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
NotSupportedException,
IndexOutOfRangeException
public Oid getSignatureAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
public SlhDsa GetSlhDsaPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException, NotSupportedException
public SlhDsa GetSlhDsaPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException, NullReferenceException, ExternalException, OverflowException, AsnContentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionExternalExceptionOverflowExceptionAsnContentExceptionpublic X500DistinguishedName getSubjectName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, CryptographicException
public java.lang.String getThumbprint()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
NotSupportedException,
IndexOutOfRangeException
public int getVersion()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public void Import(byte[] rawData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic void Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
Import in class X509Certificatejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionpublic 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,
NullReferenceException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionUnreachableExceptionCryptographicExceptionAsnContentExceptionExternalExceptionNullReferenceExceptionCultureNotFoundExceptionpublic void Reset()
throws java.lang.Throwable
Reset in class X509Certificatejava.lang.Throwablepublic void setArchived(boolean Archived)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public void setFriendlyName(java.lang.String FriendlyName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException
public void setJCOInstance(JCObject instance)
setJCOInstance in class X509Certificatepublic void setPrivateKey(AsymmetricAlgorithm PrivateKey) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public java.lang.String ToString(boolean verbose)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
ArgumentException,
OutOfMemoryException,
ArgumentNullException,
CultureNotFoundException,
CryptographicException,
NullReferenceException,
NotSupportedException,
RankException,
IndexOutOfRangeException,
InvalidCastException,
TypeInitializationException,
InvalidOperationException,
FormatException,
OverflowException
ToString in class X509Certificatejava.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionArgumentExceptionOutOfMemoryExceptionArgumentNullExceptionCultureNotFoundExceptionCryptographicExceptionNullReferenceExceptionNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionInvalidCastExceptionTypeInitializationExceptionInvalidOperationExceptionFormatExceptionOverflowExceptionpublic boolean Verify()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
CryptographicException,
OverflowException,
MissingMethodException,
TargetInvocationException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionCryptographicExceptionOverflowExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryException