public class PasswordDeriveBytes extends DeriveBytes
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Cryptography.PasswordDeriveBytes
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=10.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.PasswordDeriveBytes
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PasswordDeriveBytes() |
PasswordDeriveBytes(byte[] password,
byte[] salt) |
PasswordDeriveBytes(byte[] password,
byte[] salt,
CspParameters cspParams) |
PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations) |
PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations,
CspParameters cspParams) |
PasswordDeriveBytes(java.lang.Object instance)
Internal constructor.
|
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt) |
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
CspParameters cspParams) |
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations) |
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations,
CspParameters cspParams) |
| Modifier and Type | Method and Description |
|---|---|
static PasswordDeriveBytes |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PasswordDeriveBytes, 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) |
java.lang.String |
getHashName() |
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() |
void |
Reset() |
void |
setHashName(java.lang.String HashName) |
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 PasswordDeriveBytes()
throws java.lang.Throwable
java.lang.Throwablepublic PasswordDeriveBytes(byte[] password,
byte[] salt)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
ArgumentNullException,
TypeLoadException,
NotSupportedException,
NullReferenceException
public PasswordDeriveBytes(byte[] password,
byte[] salt,
CspParameters cspParams)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArgumentNullException,
TypeLoadException,
FileLoadException,
NullReferenceException
public PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
CryptographicException,
ArgumentNullException,
TypeLoadException,
FileLoadException,
NotSupportedException,
NullReferenceException
public PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations,
CspParameters cspParams)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
TypeLoadException,
FileLoadException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionTypeLoadExceptionFileLoadExceptionNullReferenceExceptionpublic PasswordDeriveBytes(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
CryptographicException,
TypeLoadException,
NotSupportedException
public PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
CspParameters cspParams)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
CryptographicException,
InvalidOperationException,
TypeLoadException,
NotSupportedException,
NullReferenceException
public PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
CryptographicException,
TypeLoadException,
NotSupportedException,
NullReferenceException
public PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations,
CspParameters cspParams)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
CryptographicException,
InvalidOperationException,
TypeLoadException,
FileLoadException,
NullReferenceException
public static PasswordDeriveBytes cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PasswordDeriveBytes, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPasswordDeriveBytes 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,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
ExternalException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] CryptDeriveKey(java.lang.String dupParam0,
java.lang.String dupParam1,
int dupParam2,
JCORefOut dupParam3)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
ExternalException,
MissingMethodException,
TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionMissingMethodExceptionTargetInvocationExceptionpublic byte[] GetBytes(int cb)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
CryptographicUnexpectedOperationException,
CryptographicException
GetBytes in class DeriveBytesjava.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionCryptographicExceptionpublic java.lang.String getHashName()
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,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void Reset()
throws java.lang.Throwable
Reset in class DeriveBytesjava.lang.Throwablepublic void setHashName(java.lang.String HashName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
TypeLoadException,
IndexOutOfRangeException,
FileLoadException,
FileNotFoundException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionCryptographicExceptionTypeLoadExceptionIndexOutOfRangeExceptionFileLoadExceptionFileNotFoundExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void setIterationCount(int IterationCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
CryptographicException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DeriveBytespublic void setSalt(byte[] Salt)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException