public class PasswordDeriveBytes extends DeriveBytes
.NET documentation at https://learn.microsoft.com/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=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.PasswordDeriveBytes
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PasswordDeriveBytes() |
PasswordDeriveBytes(byte[] password,
byte[] salt)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(byte[] password,
byte[] salt,
CspParameters cspParams)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations,
CspParameters cspParams)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(java.lang.Object instance)
Internal constructor.
|
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
CspParameters cspParams)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations)
Initializes a new instance by invoking the .NET constructor.
|
PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
java.lang.String strHashName,
int iterations,
CspParameters cspParams)
Initializes a new instance by invoking the .NET constructor.
|
| 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)
Invokes the .NET member CryptDeriveKey.
|
byte[] |
CryptDeriveKey(java.lang.String dupParam0,
java.lang.String dupParam1,
int dupParam2,
JCORefOut dupParam3)
Invokes the .NET member CryptDeriveKey.
|
byte[] |
GetBytes(int cb)
Invokes the .NET member GetBytes.
|
java.lang.String |
getHashName()
Gets the value of the .NET property HashName.
|
int |
getIterationCount()
Gets the value of the .NET property IterationCount.
|
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. |
byte[] |
getSalt()
Gets the value of the .NET property Salt.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setHashName(java.lang.String HashName)
Sets the value of the .NET property HashName.
|
void |
setIterationCount(int IterationCount)
Sets the value of the .NET property IterationCount.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setSalt(byte[] Salt)
Sets the value of the .NET property 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
password - the argument of type byte[]salt - the argument of type byte[]java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic PasswordDeriveBytes(byte[] password,
byte[] salt,
CspParameters cspParams)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArgumentNullException,
TypeLoadException,
FileLoadException,
NullReferenceException
password - the argument of type byte[]salt - the argument of type byte[]cspParams - the argument of type CspParametersjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic 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
password - the argument of type byte[]salt - the argument of type byte[]hashName - the argument of type java.lang.Stringiterations - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic PasswordDeriveBytes(byte[] password,
byte[] salt,
java.lang.String hashName,
int iterations,
CspParameters cspParams)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CryptographicException,
ArgumentNullException,
TypeLoadException,
FileLoadException,
NullReferenceException
password - the argument of type byte[]salt - the argument of type byte[]hashName - the argument of type java.lang.Stringiterations - the argument of type intcspParams - the argument of type CspParametersjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic PasswordDeriveBytes(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 PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
ArgumentNullException,
CryptographicException,
TypeLoadException,
NotSupportedException
strPassword - the argument of type java.lang.StringrgbSalt - the argument of type byte[]java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itTypeLoadException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic PasswordDeriveBytes(java.lang.String strPassword,
byte[] rgbSalt,
CspParameters cspParams)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
CryptographicException,
InvalidOperationException,
TypeLoadException,
NotSupportedException,
NullReferenceException
strPassword - the argument of type java.lang.StringrgbSalt - the argument of type byte[]cspParams - the argument of type CspParametersjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCryptographicException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeLoadException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic 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
strPassword - the argument of type java.lang.StringrgbSalt - the argument of type byte[]strHashName - the argument of type java.lang.Stringiterations - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itTypeLoadException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic 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
strPassword - the argument of type java.lang.StringrgbSalt - the argument of type byte[]strHashName - the argument of type java.lang.Stringiterations - the argument of type intcspParams - the argument of type CspParametersjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCryptographicException - if the .NET member raises itInvalidOperationException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic 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,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
ExternalException,
MissingMethodException,
TargetInvocationException
algname - the argument of type java.lang.Stringalghashname - the argument of type java.lang.StringkeySize - the argument of type intrgbIV - 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 itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic byte[] CryptDeriveKey(java.lang.String dupParam0,
java.lang.String dupParam1,
int dupParam2,
JCORefOut dupParam3)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
ExternalException,
MissingMethodException,
TargetInvocationException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type java.lang.StringdupParam2 - the argument of type intdupParam3 - 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 itCryptographicException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic byte[] GetBytes(int cb)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
CryptographicUnexpectedOperationException,
CryptographicException
GetBytes in class DeriveBytescb - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itCryptographicUnexpectedOperationException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic java.lang.String getHashName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getIterationCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DeriveBytespublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DeriveBytespublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DeriveBytesnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DeriveBytespublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DeriveBytespublic byte[] getSalt()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void Reset()
throws java.lang.Throwable
Reset in class DeriveBytesjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHashName(java.lang.String HashName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException,
TypeLoadException,
IndexOutOfRangeException,
FileLoadException,
FileNotFoundException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
HashName - the new value of the propertyjava.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 itTypeLoadException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFileLoadException - if the .NET member raises itFileNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void setIterationCount(int IterationCount)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
CryptographicException
IterationCount - the new value of the propertyjava.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 itFormatException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DeriveBytesinstance - the new underlying objectpublic void setSalt(byte[] Salt)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
CryptographicException
Salt - the new value of the propertyjava.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 it