Package system.security.cryptography
Class RSACryptoServiceProvider
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.AsymmetricAlgorithm
-
- system.security.cryptography.RSA
-
- system.security.cryptography.RSACryptoServiceProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class RSACryptoServiceProvider extends RSA
The base .NET class managing System.Security.Cryptography.RSACryptoServiceProvider, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.RSACryptoServiceProviderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RSACryptoServiceProvider()RSACryptoServiceProvider(int dwKeySize)RSACryptoServiceProvider(int dwKeySize, CspParameters parameters)RSACryptoServiceProvider(java.lang.Object instance)Internal constructor.RSACryptoServiceProvider(CspParameters parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RSACryptoServiceProvidercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRSACryptoServiceProvider, 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)RSAParametersExportParameters(boolean includePrivateParameters)CspKeyContainerInfogetCspKeyContainerInfo()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypebooleangetPersistKeyInCsp()booleangetPublicOnly()static booleangetUseMachineKeyStore()voidImportCspBlob(byte[] keyBlob)voidImportCspBlob(JCORefOut dupParam0)voidImportParameters(RSAParameters parameters)voidsetJCOInstance(JCObject instance)voidsetPersistKeyInCsp(boolean PersistKeyInCsp)static voidsetUseMachineKeyStore(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[] rgbHash, java.lang.String str)byte[]SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)byte[]SignHash(JCORefOut dupParam0, java.lang.String dupParam1)byte[]SignHash(JCORefOut dupParam0, HashAlgorithmName dupParam1, RSASignaturePadding dupParam2)booleanVerifyData(byte[] buffer, NetObject halg, byte[] signature)booleanVerifyData(JCORefOut dupParam0, NetObject dupParam1, JCORefOut dupParam2)booleanVerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)booleanVerifyHash(byte[] rgbHash, java.lang.String str, byte[] rgbSignature)booleanVerifyHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2)booleanVerifyHash(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3)-
Methods inherited from class system.security.cryptography.RSA
Create, Create, CreateNewRSA, CreateNewRSA, FromXmlString, SignData, SignData, SignData, SignData, SignData, ToXmlString, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData, VerifyData
-
Methods inherited from class system.security.cryptography.AsymmetricAlgorithm
Clear, close, Create, Create, Dispose, getKeyExchangeAlgorithm, getKeySize, getLegalKeySizes, getSignatureAlgorithm, setKeySize
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.RSACryptoServiceProvider- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RSACryptoServiceProvider
public RSACryptoServiceProvider(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
RSACryptoServiceProvider
public RSACryptoServiceProvider() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
RSACryptoServiceProvider
public RSACryptoServiceProvider(int dwKeySize) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
RSACryptoServiceProvider
public RSACryptoServiceProvider(int dwKeySize, CspParameters parameters) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, CryptographicException, RankException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
-
RSACryptoServiceProvider
public RSACryptoServiceProvider(CspParameters parameters) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, CryptographicException, RankException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classRSA- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classRSA- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classRSA- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classRSA- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classRSA
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classRSA- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static RSACryptoServiceProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRSACryptoServiceProvider, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RSACryptoServiceProviderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
VerifyData
public boolean VerifyData(byte[] buffer, NetObject halg, byte[] signature) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
VerifyData
public boolean VerifyData(JCORefOut dupParam0, NetObject dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
VerifyHash
public boolean VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException, RankException, ObjectDisposedException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Overrides:
VerifyHashin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
VerifyHash
public boolean VerifyHash(JCORefOut dupParam0, JCORefOut dupParam1, HashAlgorithmName dupParam2, RSASignaturePadding dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException, RankException, ObjectDisposedException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Overrides:
VerifyHashin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
VerifyHash
public boolean VerifyHash(byte[] rgbHash, java.lang.String str, byte[] rgbSignature) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, RankException, UnauthorizedAccessException, PrivilegeNotHeldException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionRankExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionObjectDisposedException
-
VerifyHash
public boolean VerifyHash(JCORefOut dupParam0, java.lang.String dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, CryptographicException, RankException, UnauthorizedAccessException, PrivilegeNotHeldException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionCryptographicExceptionRankExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionObjectDisposedException
-
Decrypt
public byte[] Decrypt(byte[] rgb, boolean fOAEP) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Decrypt
public byte[] Decrypt(JCORefOut dupParam0, boolean dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Decrypt
public byte[] Decrypt(byte[] data, RSAEncryptionPadding padding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Overrides:
Decryptin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Decrypt
public byte[] Decrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Overrides:
Decryptin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
DecryptValue
public byte[] DecryptValue(byte[] rgb) throws java.lang.Throwable, NotSupportedException- Overrides:
DecryptValuein classRSA- Throws:
java.lang.ThrowableNotSupportedException
-
DecryptValue
public byte[] DecryptValue(JCORefOut dupParam0) throws java.lang.Throwable, NotSupportedException
- Overrides:
DecryptValuein classRSA- Throws:
java.lang.ThrowableNotSupportedException
-
Encrypt
public byte[] Encrypt(byte[] rgb, boolean fOAEP) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Encrypt
public byte[] Encrypt(JCORefOut dupParam0, boolean dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Encrypt
public byte[] Encrypt(byte[] data, RSAEncryptionPadding padding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Overrides:
Encryptin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
Encrypt
public byte[] Encrypt(JCORefOut dupParam0, RSAEncryptionPadding dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Overrides:
Encryptin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
EncryptValue
public byte[] EncryptValue(byte[] rgb) throws java.lang.Throwable, NotSupportedException- Overrides:
EncryptValuein classRSA- Throws:
java.lang.ThrowableNotSupportedException
-
EncryptValue
public byte[] EncryptValue(JCORefOut dupParam0) throws java.lang.Throwable, NotSupportedException
- Overrides:
EncryptValuein classRSA- Throws:
java.lang.ThrowableNotSupportedException
-
ExportCspBlob
public byte[] ExportCspBlob(boolean includePrivateParameters) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
SignData
public byte[] SignData(byte[] buffer, int offset, int count, NetObject halg) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
SignData
public byte[] SignData(JCORefOut dupParam0, int dupParam1, int dupParam2, NetObject dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
SignData
public byte[] SignData(byte[] buffer, NetObject halg) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
SignData
public byte[] SignData(JCORefOut dupParam0, NetObject dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
SignData
public byte[] SignData(Stream inputStream, NetObject halg) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, SecurityException, ApplicationException, CultureNotFoundException, OutOfMemoryException, MissingMethodException, TargetInvocationException, TypeLoadException, ObjectDisposedException, UnauthorizedAccessException, IOException, CryptographicException, RankException, PrivilegeNotHeldException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionTypeLoadExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionCryptographicExceptionRankExceptionPrivilegeNotHeldException
-
SignHash
public byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException, RankException, ObjectDisposedException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Overrides:
SignHashin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
SignHash
public byte[] SignHash(JCORefOut dupParam0, HashAlgorithmName dupParam1, RSASignaturePadding dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, CryptographicException, RankException, ObjectDisposedException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Overrides:
SignHashin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCryptographicExceptionRankExceptionObjectDisposedExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
SignHash
public byte[] SignHash(byte[] rgbHash, java.lang.String str) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException, IndexOutOfRangeException, SecurityException, ApplicationException, CultureNotFoundException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedExceptionIndexOutOfRangeExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
SignHash
public byte[] SignHash(JCORefOut dupParam0, java.lang.String dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException, IndexOutOfRangeException, SecurityException, ApplicationException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedExceptionIndexOutOfRangeExceptionSecurityExceptionApplicationExceptionCultureNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
ExportParameters
public RSAParameters ExportParameters(boolean includePrivateParameters) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Overrides:
ExportParametersin classRSA- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
ImportCspBlob
public void ImportCspBlob(byte[] keyBlob) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeException
-
ImportCspBlob
public void ImportCspBlob(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CryptographicException, RankException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeException
-
ImportParameters
public void ImportParameters(RSAParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, RankException, ArgumentOutOfRangeException, CryptographicException
- Overrides:
ImportParametersin classRSA- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionRankExceptionArgumentOutOfRangeExceptionCryptographicException
-
getPersistKeyInCsp
public boolean getPersistKeyInCsp() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, CryptographicException, RankException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionCryptographicExceptionRankException
-
setPersistKeyInCsp
public void setPersistKeyInCsp(boolean PersistKeyInCsp) throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeException
-
getPublicOnly
public boolean getPublicOnly() throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
getUseMachineKeyStore
public static boolean getUseMachineKeyStore() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUseMachineKeyStore
public static void setUseMachineKeyStore(boolean UseMachineKeyStore) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCspKeyContainerInfo
public CspKeyContainerInfo getCspKeyContainerInfo() throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, CryptographicException, RankException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, OutOfMemoryException, UnauthorizedAccessException, PrivilegeNotHeldException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionCryptographicExceptionRankExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionPrivilegeNotHeldExceptionNotSupportedException
-
-