public class RC2CryptoServiceProvider extends RC2
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.RC2CryptoServiceProvider
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Security.Cryptography.RC2CryptoServiceProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RC2CryptoServiceProvider() |
RC2CryptoServiceProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RC2CryptoServiceProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RC2CryptoServiceProvider, a cast assert is made to check if types are compatible. |
ICryptoTransform |
CreateDecryptor(byte[] rgbKey,
byte[] rgbIV) |
ICryptoTransform |
CreateDecryptor(JCORefOut dupParam0,
JCORefOut dupParam1) |
ICryptoTransform |
CreateEncryptor(byte[] rgbKey,
byte[] rgbIV) |
ICryptoTransform |
CreateEncryptor(JCORefOut dupParam0,
JCORefOut dupParam1) |
void |
GenerateIV() |
void |
GenerateKey() |
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 |
getUseSalt() |
void |
setJCOInstance(JCObject instance) |
void |
setUseSalt(boolean UseSalt) |
CreateNewRC2, CreateNewRC2, getEffectiveKeySize, setEffectiveKeySizeClear, close, Create, Create, CreateDecryptor, CreateEncryptor, Dispose, getBlockSize, getFeedbackSize, getIV, getKey, getKeySize, getLegalBlockSizes, getLegalKeySizes, getMode, getPadding, setBlockSize, setFeedbackSize, setIV, setKey, setKeySize, setMode, setPadding, ValidKeySizepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RC2CryptoServiceProvider()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
SecurityException,
UnauthorizedAccessException,
IOException,
NotSupportedException,
CryptographicException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNotSupportedExceptionCryptographicExceptionpublic RC2CryptoServiceProvider(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RC2CryptoServiceProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RC2CryptoServiceProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRC2CryptoServiceProvider instancejava.lang.Throwable - in case of error during cast operationpublic ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV) throws java.lang.Throwable, CryptographicException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
CreateDecryptor in class SymmetricAlgorithmjava.lang.ThrowableCryptographicExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionpublic ICryptoTransform CreateDecryptor(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, CryptographicException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
CreateDecryptor in class SymmetricAlgorithmjava.lang.ThrowableCryptographicExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionpublic ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV) throws java.lang.Throwable, CryptographicException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
CreateEncryptor in class SymmetricAlgorithmjava.lang.ThrowableCryptographicExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionpublic ICryptoTransform CreateEncryptor(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, CryptographicException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
CreateEncryptor in class SymmetricAlgorithmjava.lang.ThrowableCryptographicExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionpublic void GenerateIV()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
GenerateIV in class SymmetricAlgorithmjava.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void GenerateKey()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
GenerateKey in class SymmetricAlgorithmjava.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class RC2String representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class RC2String representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class RC2Object representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class RC2String representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class RC2JCType representing the CLR Type of the instantiated Classpublic boolean getUseSalt()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class RC2public void setUseSalt(boolean UseSalt)
throws java.lang.Throwable
java.lang.Throwable