public class Rfc2898DeriveBytes extends DeriveBytes
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.Rfc2898DeriveBytes
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.Rfc2898DeriveBytes
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Rfc2898DeriveBytes() |
Rfc2898DeriveBytes(byte[] password,
byte[] salt,
int iterations) |
Rfc2898DeriveBytes(byte[] password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm) |
Rfc2898DeriveBytes(java.lang.Object instance)
Internal constructor.
|
Rfc2898DeriveBytes(java.lang.String password,
byte[] salt) |
Rfc2898DeriveBytes(java.lang.String password,
byte[] salt,
int iterations) |
Rfc2898DeriveBytes(java.lang.String password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm) |
Rfc2898DeriveBytes(java.lang.String password,
int saltSize) |
Rfc2898DeriveBytes(java.lang.String password,
int saltSize,
int iterations) |
Rfc2898DeriveBytes(java.lang.String password,
int saltSize,
int iterations,
HashAlgorithmName hashAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
static Rfc2898DeriveBytes |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Rfc2898DeriveBytes, a cast assert is made to check if types are compatible. |
byte[] |
CryptDeriveKey(java.lang.String algname,
java.lang.String alghashname,
int keySize,
byte[] rgbIV) |
byte[] |
CryptDeriveKey(java.lang.String dupParam0,
java.lang.String dupParam1,
int dupParam2,
JCORefOut dupParam3) |
byte[] |
GetBytes(int cb) |
HashAlgorithmName |
getHashAlgorithm() |
int |
getIterationCount() |
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
|
byte[] |
getSalt() |
static byte[] |
Pbkdf2(byte[] password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm,
int outputLength) |
static byte[] |
Pbkdf2(JCORefOut dupParam0,
JCORefOut dupParam1,
int dupParam2,
HashAlgorithmName dupParam3,
int dupParam4) |
static byte[] |
Pbkdf2(java.lang.String password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm,
int outputLength) |
static byte[] |
Pbkdf2(java.lang.String dupParam0,
JCORefOut dupParam1,
int dupParam2,
HashAlgorithmName dupParam3,
int dupParam4) |
void |
Reset() |
void |
setIterationCount(int IterationCount) |
void |
setJCOInstance(JCObject instance) |
void |
setSalt(byte[] Salt) |
close, Disposepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Rfc2898DeriveBytes()
throws java.lang.Throwable
java.lang.Throwablepublic Rfc2898DeriveBytes(byte[] password,
byte[] salt,
int iterations)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException
public Rfc2898DeriveBytes(byte[] password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionpublic Rfc2898DeriveBytes(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Rfc2898DeriveBytes(java.lang.String password,
byte[] salt)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException
public Rfc2898DeriveBytes(java.lang.String password,
byte[] salt,
int iterations)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionpublic Rfc2898DeriveBytes(java.lang.String password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
CryptographicException,
IndexOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic Rfc2898DeriveBytes(java.lang.String password,
int saltSize)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException,
ArgumentNullException,
CryptographicException,
OutOfMemoryException
public Rfc2898DeriveBytes(java.lang.String password,
int saltSize,
int iterations)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionOutOfMemoryExceptionpublic Rfc2898DeriveBytes(java.lang.String password,
int saltSize,
int iterations,
HashAlgorithmName hashAlgorithm)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionpublic static Rfc2898DeriveBytes cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Rfc2898DeriveBytes, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRfc2898DeriveBytes instancejava.lang.Throwable - in case of error during cast operationpublic byte[] CryptDeriveKey(java.lang.String algname,
java.lang.String alghashname,
int keySize,
byte[] rgbIV)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public byte[] CryptDeriveKey(java.lang.String dupParam0,
java.lang.String dupParam1,
int dupParam2,
JCORefOut dupParam3)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public byte[] GetBytes(int cb)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CryptographicException
GetBytes in class DeriveBytesjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCryptographicExceptionpublic HashAlgorithmName getHashAlgorithm() throws java.lang.Throwable
java.lang.Throwablepublic int getIterationCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DeriveBytesString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DeriveBytesString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DeriveBytesObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DeriveBytesString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DeriveBytesJCType representing the CLR Type of the instantiated Classpublic byte[] getSalt()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
PlatformNotSupportedException
public static byte[] Pbkdf2(byte[] password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm,
int outputLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionpublic static byte[] Pbkdf2(JCORefOut dupParam0, JCORefOut dupParam1, int dupParam2, HashAlgorithmName dupParam3, int dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CryptographicException, NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionpublic static byte[] Pbkdf2(java.lang.String password,
byte[] salt,
int iterations,
HashAlgorithmName hashAlgorithm,
int outputLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionpublic static byte[] Pbkdf2(java.lang.String dupParam0,
JCORefOut dupParam1,
int dupParam2,
HashAlgorithmName dupParam3,
int dupParam4)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionNullReferenceExceptionpublic void Reset()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException
Reset in class DeriveBytesjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic void setIterationCount(int IterationCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class DeriveBytespublic void setSalt(byte[] Salt)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException