public class RSACryptoServiceProvider extends RSA
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.RSACryptoServiceProvider
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=9.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.RSACryptoServiceProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RSACryptoServiceProvider() |
RSACryptoServiceProvider(CspParameters parameters) |
RSACryptoServiceProvider(int dwKeySize) |
RSACryptoServiceProvider(int dwKeySize,
CspParameters parameters) |
RSACryptoServiceProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RSACryptoServiceProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RSACryptoServiceProvider, a cast assert is made to check if types are compatible. |
byte[] |
Decrypt(byte[] rgb,
boolean fOAEP) |
byte[] |
Decrypt(byte[] data,
RSAEncryptionPadding padding) |
byte[] |
Decrypt(JCORefOut dupParam0,
boolean dupParam1) |
byte[] |
Decrypt(JCORefOut dupParam0,
RSAEncryptionPadding dupParam1) |
byte[] |
DecryptValue(byte[] rgb) |
byte[] |
DecryptValue(JCORefOut dupParam0) |
byte[] |
Encrypt(byte[] rgb,
boolean fOAEP) |
byte[] |
Encrypt(byte[] data,
RSAEncryptionPadding padding) |
byte[] |
Encrypt(JCORefOut dupParam0,
boolean dupParam1) |
byte[] |
Encrypt(JCORefOut dupParam0,
RSAEncryptionPadding dupParam1) |
byte[] |
EncryptValue(byte[] rgb) |
byte[] |
EncryptValue(JCORefOut dupParam0) |
byte[] |
ExportCspBlob(boolean includePrivateParameters) |
RSAParameters |
ExportParameters(boolean includePrivateParameters) |
CspKeyContainerInfo |
getCspKeyContainerInfo() |
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
|
boolean |
getPersistKeyInCsp() |
boolean |
getPublicOnly() |
static boolean |
getUseMachineKeyStore() |
void |
ImportCspBlob(byte[] keyBlob) |
void |
ImportCspBlob(JCORefOut dupParam0) |
void |
ImportParameters(RSAParameters parameters) |
void |
setJCOInstance(JCObject instance) |
void |
setPersistKeyInCsp(boolean PersistKeyInCsp) |
static void |
setUseMachineKeyStore(boolean UseMachineKeyStore) |
byte[] |
SignData(byte[] buffer,
int offset,
int count,
NetObject halg) |
byte[] |
SignData(byte[] buffer,
NetObject halg) |
byte[] |
SignData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
NetObject dupParam3) |
byte[] |
SignData(JCORefOut dupParam0,
NetObject dupParam1) |
byte[] |
SignData(Stream inputStream,
NetObject halg) |
byte[] |
SignHash(byte[] hash,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding) |
byte[] |
SignHash(byte[] rgbHash,
java.lang.String str) |
byte[] |
SignHash(JCORefOut dupParam0,
HashAlgorithmName dupParam1,
RSASignaturePadding dupParam2) |
byte[] |
SignHash(JCORefOut dupParam0,
java.lang.String dupParam1) |
boolean |
VerifyData(byte[] buffer,
NetObject halg,
byte[] signature) |
boolean |
VerifyData(JCORefOut dupParam0,
NetObject dupParam1,
JCORefOut dupParam2) |
boolean |
VerifyHash(byte[] hash,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding) |
boolean |
VerifyHash(byte[] rgbHash,
java.lang.String str,
byte[] rgbSignature) |
boolean |
VerifyHash(JCORefOut dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2,
RSASignaturePadding dupParam3) |
boolean |
VerifyHash(JCORefOut dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2) |
Create, Create, CreateNewRSA, CreateNewRSA, ExportRSAPrivateKey, ExportRSAPrivateKeyPem, ExportRSAPublicKey, ExportRSAPublicKeyPem, FromXmlString, GetMaxOutputSize, SignData, SignData, SignData, SignData, SignData, ToXmlString, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyDataClear, close, Create, Create, Dispose, ExportPkcs8PrivateKey, ExportPkcs8PrivateKeyPem, ExportSubjectPublicKeyInfo, ExportSubjectPublicKeyInfoPem, getKeyExchangeAlgorithm, getKeySize, getLegalKeySizes, getSignatureAlgorithm, setKeySizepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RSACryptoServiceProvider()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
ArrayTypeMismatchException,
InvalidOperationException,
NotSupportedException,
ObjectDisposedException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionObjectDisposedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic RSACryptoServiceProvider(CspParameters parameters) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, CryptographicException, OutOfMemoryException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic RSACryptoServiceProvider(int dwKeySize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
ArrayTypeMismatchException,
InvalidOperationException,
NotSupportedException,
ObjectDisposedException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionCryptographicExceptionArrayTypeMismatchExceptionInvalidOperationExceptionNotSupportedExceptionObjectDisposedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic RSACryptoServiceProvider(int dwKeySize,
CspParameters parameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic RSACryptoServiceProvider(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RSACryptoServiceProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RSACryptoServiceProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRSACryptoServiceProvider instancejava.lang.Throwable - in case of error during cast operationpublic byte[] Decrypt(byte[] rgb,
boolean fOAEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Decrypt(byte[] data,
RSAEncryptionPadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
Decrypt in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Decrypt(JCORefOut dupParam0, boolean dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Decrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
Decrypt in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] DecryptValue(byte[] rgb)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
DecryptValue in class RSAjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionpublic byte[] DecryptValue(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
DecryptValue in class RSAjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionpublic byte[] Encrypt(byte[] rgb,
boolean fOAEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Encrypt(byte[] data,
RSAEncryptionPadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException
Encrypt in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Encrypt(JCORefOut dupParam0, boolean dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] Encrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MissingMethodException, TargetInvocationException
Encrypt in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] EncryptValue(byte[] rgb)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
EncryptValue in class RSAjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionpublic byte[] EncryptValue(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
EncryptValue in class RSAjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionpublic byte[] ExportCspBlob(boolean includePrivateParameters)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic RSAParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CryptographicException, ArrayTypeMismatchException, ObjectDisposedException, ArgumentNullException, OutOfMemoryException, MissingMethodException, TargetInvocationException, IOException
ExportParameters in class RSAjava.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionCryptographicExceptionArrayTypeMismatchExceptionObjectDisposedExceptionArgumentNullExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionpublic CspKeyContainerInfo getCspKeyContainerInfo() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CryptographicException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class RSAString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class RSAString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class RSAObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class RSAString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class RSAJCType representing the CLR Type of the instantiated Classpublic boolean getPersistKeyInCsp()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException
public boolean getPublicOnly()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic static boolean getUseMachineKeyStore()
throws java.lang.Throwable
java.lang.Throwablepublic void ImportCspBlob(byte[] keyBlob)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException
public void ImportCspBlob(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CryptographicException, CultureNotFoundException, OutOfMemoryException
public void ImportParameters(RSAParameters parameters) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, FormatException, CryptographicException, ArgumentNullException, NotSupportedException, ObjectDisposedException, CultureNotFoundException, MissingMethodException, TargetInvocationException, OutOfMemoryException
ImportParameters in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionCryptographicExceptionArgumentNullExceptionNotSupportedExceptionObjectDisposedExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class RSApublic void setPersistKeyInCsp(boolean PersistKeyInCsp)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionArgumentNullExceptionOutOfMemoryExceptionpublic static void setUseMachineKeyStore(boolean UseMachineKeyStore)
throws java.lang.Throwable
java.lang.Throwablepublic byte[] SignData(byte[] buffer,
int offset,
int count,
NetObject halg)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CryptographicException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FormatException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic byte[] SignData(byte[] buffer,
NetObject halg)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CryptographicException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FormatException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic byte[] SignData(JCORefOut dupParam0, int dupParam1, int dupParam2, NetObject dupParam3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic byte[] SignData(JCORefOut dupParam0, NetObject dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic byte[] SignData(Stream inputStream, NetObject halg) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FormatException, ArrayTypeMismatchException, IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionIOExceptionpublic byte[] SignHash(byte[] hash,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
SignHash in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] SignHash(byte[] rgbHash,
java.lang.String str)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] SignHash(JCORefOut dupParam0, HashAlgorithmName dupParam1, RSASignaturePadding dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
SignHash in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] SignHash(JCORefOut dupParam0, java.lang.String dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic boolean VerifyData(byte[] buffer,
NetObject halg,
byte[] signature)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CryptographicException,
NullReferenceException,
ExternalException,
CultureNotFoundException,
MissingMethodException,
TargetInvocationException,
FormatException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic boolean VerifyData(JCORefOut dupParam0, NetObject dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CryptographicException, NullReferenceException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCryptographicExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArrayTypeMismatchExceptionpublic boolean VerifyHash(byte[] hash,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
CultureNotFoundException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException
VerifyHash in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic boolean VerifyHash(byte[] rgbHash,
java.lang.String str,
byte[] rgbSignature)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
CryptographicException,
CultureNotFoundException,
NullReferenceException,
ExternalException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionCultureNotFoundExceptionNullReferenceExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionpublic boolean VerifyHash(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException
VerifyHash in class RSAjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionpublic boolean VerifyHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, CryptographicException, CultureNotFoundException, NullReferenceException, ExternalException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionCryptographicExceptionCultureNotFoundExceptionNullReferenceExceptionExternalExceptionMissingMethodExceptionTargetInvocationException