public class RSA extends AsymmetricAlgorithm
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Cryptography.RSA
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.RSA
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RSA() |
RSA(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RSA |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RSA, a cast assert is made to check if types are compatible. |
static RSA |
Create(int keySizeInBits)
Invokes the .NET member Create.
|
static RSA |
Create(RSAParameters parameters)
Invokes the .NET member Create.
|
static RSA |
CreateNewRSA()
Invokes the .NET member CreateNewRSA.
|
static RSA |
CreateNewRSA(java.lang.String algName)
Invokes the .NET member CreateNewRSA.
|
byte[] |
Decrypt(byte[] data,
RSAEncryptionPadding padding)
Invokes the .NET member Decrypt.
|
byte[] |
Decrypt(JCORefOut dupParam0,
RSAEncryptionPadding dupParam1)
Invokes the .NET member Decrypt.
|
byte[] |
DecryptValue(byte[] rgb)
Invokes the .NET member DecryptValue.
|
byte[] |
DecryptValue(JCORefOut dupParam0)
Invokes the .NET member DecryptValue.
|
byte[] |
Encrypt(byte[] data,
RSAEncryptionPadding padding)
Invokes the .NET member Encrypt.
|
byte[] |
Encrypt(JCORefOut dupParam0,
RSAEncryptionPadding dupParam1)
Invokes the .NET member Encrypt.
|
byte[] |
EncryptValue(byte[] rgb)
Invokes the .NET member EncryptValue.
|
byte[] |
EncryptValue(JCORefOut dupParam0)
Invokes the .NET member EncryptValue.
|
RSAParameters |
ExportParameters(boolean includePrivateParameters)
Invokes the .NET member ExportParameters.
|
byte[] |
ExportRSAPrivateKey()
Invokes the .NET member ExportRSAPrivateKey.
|
java.lang.String |
ExportRSAPrivateKeyPem()
Invokes the .NET member ExportRSAPrivateKeyPem.
|
byte[] |
ExportRSAPublicKey()
Invokes the .NET member ExportRSAPublicKey.
|
java.lang.String |
ExportRSAPublicKeyPem()
Invokes the .NET member ExportRSAPublicKeyPem.
|
void |
FromXmlString(java.lang.String xmlString)
Invokes the .NET member FromXmlString.
|
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. |
int |
GetMaxOutputSize()
Invokes the .NET member GetMaxOutputSize.
|
void |
ImportParameters(RSAParameters parameters)
Invokes the .NET member ImportParameters.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
byte[] |
SignData(byte[] data,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member SignData.
|
byte[] |
SignData(byte[] data,
int offset,
int count,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member SignData.
|
byte[] |
SignData(JCORefOut dupParam0,
HashAlgorithmName dupParam1,
RSASignaturePadding dupParam2)
Invokes the .NET member SignData.
|
byte[] |
SignData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
HashAlgorithmName dupParam3,
RSASignaturePadding dupParam4)
Invokes the .NET member SignData.
|
byte[] |
SignData(Stream data,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member SignData.
|
byte[] |
SignHash(byte[] hash,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member SignHash.
|
byte[] |
SignHash(JCORefOut dupParam0,
HashAlgorithmName dupParam1,
RSASignaturePadding dupParam2)
Invokes the .NET member SignHash.
|
java.lang.String |
ToXmlString(boolean includePrivateParameters)
Invokes the .NET member ToXmlString.
|
boolean |
VerifyData(byte[] data,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(byte[] data,
int offset,
int count,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
JCORefOut dupParam3,
HashAlgorithmName dupParam4,
RSASignaturePadding dupParam5)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(JCORefOut dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2,
RSASignaturePadding dupParam3)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(Stream data,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member VerifyData.
|
boolean |
VerifyData(Stream dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2,
RSASignaturePadding dupParam3)
Invokes the .NET member VerifyData.
|
boolean |
VerifyHash(byte[] hash,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
Invokes the .NET member VerifyHash.
|
boolean |
VerifyHash(JCORefOut dupParam0,
JCORefOut dupParam1,
HashAlgorithmName dupParam2,
RSASignaturePadding dupParam3)
Invokes the .NET member VerifyHash.
|
Clear, 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 RSA()
throws java.lang.Throwable
java.lang.Throwablepublic RSA(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 static RSA cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RSA, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRSA instancejava.lang.Throwable - in case of error during cast operationpublic static RSA Create(int keySizeInBits) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, CryptographicException
keySizeInBits - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic static RSA Create(RSAParameters parameters) throws java.lang.Throwable, ArgumentNullException
parameters - the argument of type RSAParametersjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itpublic static RSA CreateNewRSA() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static RSA CreateNewRSA(java.lang.String algName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, RankException, ArrayTypeMismatchException, TypeLoadException, FileLoadException, FileNotFoundException, CryptographicException, NullReferenceException
algName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itFileNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic byte[] Decrypt(byte[] data,
RSAEncryptionPadding padding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
data - the argument of type byte[]padding - the argument of type RSAEncryptionPaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] Decrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type RSAEncryptionPaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] DecryptValue(byte[] rgb)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
rgb - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic byte[] DecryptValue(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic byte[] Encrypt(byte[] data,
RSAEncryptionPadding padding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
data - the argument of type byte[]padding - the argument of type RSAEncryptionPaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] Encrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type RSAEncryptionPaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] EncryptValue(byte[] rgb)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
rgb - 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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic byte[] EncryptValue(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
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 itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic RSAParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable
includePrivateParameters - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic byte[] ExportRSAPrivateKey()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
InvalidOperationException,
OverflowException,
IndexOutOfRangeException,
AsnContentException
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 itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic java.lang.String ExportRSAPrivateKeyPem()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
ArgumentOutOfRangeException,
OverflowException,
ArrayTypeMismatchException,
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic byte[] ExportRSAPublicKey()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
CryptographicException,
InvalidOperationException,
OverflowException,
IndexOutOfRangeException,
AsnContentException
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 itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAsnContentException - if the .NET member raises itpublic java.lang.String ExportRSAPublicKeyPem()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
ArgumentOutOfRangeException,
OverflowException,
ArrayTypeMismatchException,
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 itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void FromXmlString(java.lang.String xmlString)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CryptographicException,
FormatException,
ArrayTypeMismatchException,
PlatformNotSupportedException,
IndexOutOfRangeException
FromXmlString in class AsymmetricAlgorithmxmlString - 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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AsymmetricAlgorithmpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AsymmetricAlgorithmpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AsymmetricAlgorithmnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AsymmetricAlgorithmpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class AsymmetricAlgorithmpublic int GetMaxOutputSize()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
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 itNotSupportedException - 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 itpublic void ImportParameters(RSAParameters parameters) throws java.lang.Throwable
parameters - the argument of type RSAParametersjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class AsymmetricAlgorithminstance - the new underlying objectpublic byte[] SignData(byte[] data,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
NotImplementedException
data - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignData(byte[] data,
int offset,
int count,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
MissingMethodException,
TargetInvocationException,
CryptographicException,
NotImplementedException
data - the argument of type byte[]offset - the argument of type intcount - the argument of type inthashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignData(JCORefOut dupParam0, HashAlgorithmName dupParam1, RSASignaturePadding dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CryptographicException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type HashAlgorithmNamedupParam2 - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignData(JCORefOut dupParam0, int dupParam1, int dupParam2, HashAlgorithmName dupParam3, RSASignaturePadding dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, CryptographicException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type HashAlgorithmNamedupParam4 - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, CryptographicException, IOException, NotImplementedException
data - the argument of type StreamhashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIOException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignHash(byte[] hash,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
hash - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic byte[] SignHash(JCORefOut dupParam0, HashAlgorithmName dupParam1, RSASignaturePadding dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type HashAlgorithmNamedupParam2 - the argument of type RSASignaturePaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic java.lang.String ToXmlString(boolean includePrivateParameters)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
CryptographicException
ToXmlString in class AsymmetricAlgorithmincludePrivateParameters - 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 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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic boolean VerifyData(byte[] data,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
NotImplementedException
data - the argument of type byte[]signature - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyData(byte[] data,
int offset,
int count,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
MissingMethodException,
TargetInvocationException,
CryptographicException,
NotImplementedException
data - the argument of type byte[]offset - the argument of type intcount - the argument of type intsignature - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyData(JCORefOut dupParam0, int dupParam1, int dupParam2, JCORefOut dupParam3, HashAlgorithmName dupParam4, RSASignaturePadding dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, CryptographicException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type JCORefOutdupParam4 - the argument of type HashAlgorithmNamedupParam5 - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyData(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CryptographicException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type HashAlgorithmNamedupParam3 - the argument of type RSASignaturePaddingjava.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 itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, CryptographicException, IOException, NotImplementedException
data - the argument of type Streamsignature - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIOException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyData(Stream dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, CryptographicException, IOException, NotImplementedException
dupParam0 - the argument of type StreamdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type HashAlgorithmNamedupParam3 - the argument of type RSASignaturePaddingjava.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 itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itCryptographicException - if the .NET member raises itIOException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyHash(byte[] hash,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
hash - the argument of type byte[]signature - the argument of type byte[]hashAlgorithm - the argument of type HashAlgorithmNamepadding - the argument of type RSASignaturePaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic boolean VerifyHash(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type HashAlgorithmNamedupParam3 - the argument of type RSASignaturePaddingjava.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 itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises it