public class X509Certificate2 extends X509Certificate
.NET documentation at https://learn.microsoft.com/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=8.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()
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(byte[] rawData)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(byte[] rawData,
SecureString password)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(byte[] rawData,
java.lang.String password)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(java.lang.Object instance)
Internal constructor.
|
X509Certificate2(java.lang.String fileName)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(java.lang.String fileName,
SecureString password)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(java.lang.String fileName,
java.lang.String password)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
Initializes a new instance by invoking the .NET constructor.
|
X509Certificate2(X509Certificate certificate)
Initializes a new instance by invoking the .NET constructor.
|
| 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(ECDiffieHellman privateKey)
Invokes the .NET member CopyWithPrivateKey.
|
static X509Certificate2 |
CreateFromPemFile(java.lang.String certPemFilePath,
java.lang.String keyPemFilePath)
Invokes the .NET member CreateFromPemFile.
|
java.lang.String |
ExportCertificatePem()
Invokes the .NET member ExportCertificatePem.
|
boolean |
getArchived()
Gets the value of the .NET property Archived.
|
static X509ContentType |
GetCertContentType(byte[] rawData)
Invokes the .NET member GetCertContentType.
|
static X509ContentType |
GetCertContentType(JCORefOut dupParam0)
Invokes the .NET member GetCertContentType.
|
static X509ContentType |
GetCertContentType(java.lang.String fileName)
Invokes the .NET member GetCertContentType.
|
ECDiffieHellman |
GetECDiffieHellmanPrivateKey()
Invokes the .NET member GetECDiffieHellmanPrivateKey.
|
ECDiffieHellman |
GetECDiffieHellmanPublicKey()
Invokes the .NET member GetECDiffieHellmanPublicKey.
|
X509ExtensionCollection |
getExtensions()
Gets the value of the .NET property Extensions.
|
java.lang.String |
getFriendlyName()
Gets the value of the .NET property FriendlyName.
|
boolean |
getHasPrivateKey()
Gets the value of the .NET property HasPrivateKey.
|
X500DistinguishedName |
getIssuerName()
Gets the value of the .NET property IssuerName.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
GetNameInfo(X509NameType nameType,
boolean forIssuer)
Invokes the .NET member GetNameInfo.
|
DateTime |
getNotAfter()
Gets the value of the .NET property NotAfter.
|
DateTime |
getNotBefore()
Gets the value of the .NET property NotBefore.
|
AsymmetricAlgorithm |
getPrivateKey()
Gets the value of the .NET property PrivateKey.
|
PublicKey |
getPublicKey()
Gets the value of the .NET property PublicKey.
|
byte[] |
getRawData()
Gets the value of the .NET property RawData.
|
ReadOnlyMemory_1 |
getRawDataMemory()
Gets the value of the .NET property RawDataMemory.
|
java.lang.String |
getSerialNumber()
Gets the value of the .NET property SerialNumber.
|
Oid |
getSignatureAlgorithm()
Gets the value of the .NET property SignatureAlgorithm.
|
X500DistinguishedName |
getSubjectName()
Gets the value of the .NET property SubjectName.
|
java.lang.String |
getThumbprint()
Gets the value of the .NET property Thumbprint.
|
int |
getVersion()
Gets the value of the .NET property Version.
|
void |
Import(byte[] rawData)
Invokes the .NET member Import.
|
void |
Import(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
Invokes the .NET member Import.
|
void |
Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
Invokes the .NET member Import.
|
void |
Import(JCORefOut dupParam0)
Invokes the .NET member Import.
|
void |
Import(JCORefOut dupParam0,
SecureString dupParam1,
X509KeyStorageFlags dupParam2)
Invokes the .NET member Import.
|
void |
Import(JCORefOut dupParam0,
java.lang.String dupParam1,
X509KeyStorageFlags dupParam2)
Invokes the .NET member Import.
|
void |
Import(java.lang.String fileName)
Invokes the .NET member Import.
|
void |
Import(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
Invokes the .NET member Import.
|
void |
Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
Invokes the .NET member Import.
|
boolean |
MatchesHostname(java.lang.String hostname,
boolean allowWildcards,
boolean allowCommonName)
Invokes the .NET member MatchesHostname.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setArchived(boolean Archived)
Sets the value of the .NET property Archived.
|
void |
setFriendlyName(java.lang.String FriendlyName)
Sets the value of the .NET property FriendlyName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setPrivateKey(AsymmetricAlgorithm PrivateKey)
Sets the value of the .NET property PrivateKey.
|
java.lang.String |
ToString(boolean verbose)
Invokes the .NET member ToString.
|
boolean |
Verify()
Invokes the .NET member Verify.
|
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, getSerialNumberBytes, GetSerialNumberString, getSubjectpublic 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.Throwable - if the .NET constructor failspublic X509Certificate2(byte[] rawData)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
rawData - the argument of type byte[]java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(byte[] rawData,
SecureString password)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
rawData - the argument of type byte[]password - the argument of type SecureStringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
FormatException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AbandonedMutexException,
AsnContentException
rawData - the argument of type byte[]password - the argument of type SecureStringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(byte[] rawData,
java.lang.String password)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
InvalidOperationException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
rawData - the argument of type byte[]password - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AbandonedMutexException,
AsnContentException
rawData - the argument of type byte[]password - the argument of type java.lang.StringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic X509Certificate2(java.lang.String fileName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(java.lang.String fileName,
SecureString password)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ObjectDisposedException,
CryptographicException,
OutOfMemoryException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
fileName - the argument of type java.lang.Stringpassword - the argument of type SecureStringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
ObjectDisposedException,
CryptographicException,
OutOfMemoryException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AbandonedMutexException,
AsnContentException
fileName - the argument of type java.lang.Stringpassword - the argument of type SecureStringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(java.lang.String fileName,
java.lang.String password)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AsnContentException
fileName - the argument of type java.lang.Stringpassword - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
OutOfMemoryException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
CryptographicException,
SerializationException,
IOException,
ArrayTypeMismatchException,
AbandonedMutexException,
AsnContentException
fileName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic X509Certificate2(X509Certificate certificate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException
certificate - the argument of type X509Certificatejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic 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(ECDiffieHellman privateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException
privateKey - the argument of type ECDiffieHellmanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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, IOException, NotImplementedException
certPemFilePath - the argument of type java.lang.StringkeyPemFilePath - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itIOException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic java.lang.String ExportCertificatePem()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
IndexOutOfRangeException,
OutOfMemoryException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean getArchived()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic static X509ContentType GetCertContentType(byte[] rawData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
rawData - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static X509ContentType GetCertContentType(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static X509ContentType GetCertContentType(java.lang.String fileName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic ECDiffieHellman GetECDiffieHellmanPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic ECDiffieHellman GetECDiffieHellmanPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic X509ExtensionCollection getExtensions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic java.lang.String getFriendlyName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic boolean getHasPrivateKey()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic X500DistinguishedName getIssuerName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class X509Certificatepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class X509Certificatepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class X509Certificatenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class X509Certificatepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class X509Certificatepublic java.lang.String GetNameInfo(X509NameType nameType, boolean forIssuer) throws java.lang.Throwable
nameType - the argument of type X509NameTypeforIssuer - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic DateTime getNotAfter() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic DateTime getNotBefore() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic AsymmetricAlgorithm getPrivateKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic PublicKey getPublicKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itExternalException - if the .NET member raises itpublic byte[] getRawData()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ReadOnlyMemory_1 getRawDataMemory() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic java.lang.String getSerialNumber()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Oid getSignatureAlgorithm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic X500DistinguishedName getSubjectName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic java.lang.String getThumbprint()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int getVersion()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void Import(byte[] rawData)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificaterawData - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(byte[] rawData,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificaterawData - the argument of type byte[]password - the argument of type SecureStringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(byte[] rawData,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificaterawData - the argument of type byte[]password - the argument of type java.lang.StringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Import in class X509CertificatedupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(JCORefOut dupParam0, SecureString dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Import in class X509CertificatedupParam0 - the argument of type JCORefOutdupParam1 - the argument of type SecureStringdupParam2 - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(JCORefOut dupParam0, java.lang.String dupParam1, X509KeyStorageFlags dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
Import in class X509CertificatedupParam0 - the argument of type JCORefOutdupParam1 - the argument of type java.lang.StringdupParam2 - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificatefileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(java.lang.String fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificatefileName - the argument of type java.lang.Stringpassword - the argument of type SecureStringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Import(java.lang.String fileName,
java.lang.String password,
X509KeyStorageFlags keyStorageFlags)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Import in class X509CertificatefileName - the argument of type java.lang.Stringpassword - the argument of type java.lang.StringkeyStorageFlags - the argument of type X509KeyStorageFlagsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic 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
hostname - the argument of type java.lang.StringallowWildcards - the argument of type booleanallowCommonName - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itUnreachableException - if the .NET member raises itCryptographicException - if the .NET member raises itAsnContentException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void Reset()
throws java.lang.Throwable
Reset in class X509Certificatejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setArchived(boolean Archived)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
Archived - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void setFriendlyName(java.lang.String FriendlyName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException
FriendlyName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class X509Certificateinstance - the new underlying objectpublic void setPrivateKey(AsymmetricAlgorithm PrivateKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
PrivateKey - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String ToString(boolean verbose)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
ArgumentNullException,
IndexOutOfRangeException,
CryptographicException,
CultureNotFoundException,
RankException,
TypeInitializationException,
FormatException,
OverflowException
ToString in class X509Certificateverbose - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCryptographicException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itTypeInitializationException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic boolean Verify()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException,
OverflowException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itOverflowException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it