Package system.security.cryptography
Class PasswordDeriveBytes
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.security.cryptography.DeriveBytes
-
- system.security.cryptography.PasswordDeriveBytes
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class PasswordDeriveBytes extends DeriveBytes
The base .NET class managing System.Security.Cryptography.PasswordDeriveBytes, System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Security.Cryptographystatic java.lang.StringclassNameQualified class name: System.Security.Cryptography.PasswordDeriveBytesstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PasswordDeriveBytes()PasswordDeriveBytes(byte[] password, byte[] salt)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(byte[] password, byte[] salt, CspParameters cspParams)PasswordDeriveBytes(java.lang.Object instance)Internal constructor.PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt)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)PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt, CspParameters cspParams)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PasswordDeriveBytescast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoPasswordDeriveBytes, 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.StringgetHashName()intgetIterationCount()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 Typebyte[]getSalt()voidReset()voidsetHashName(java.lang.String HashName)voidsetIterationCount(int IterationCount)voidsetJCOInstance(JCObject instance)voidsetSalt(byte[] Salt)-
Methods inherited from class system.security.cryptography.DeriveBytes
close, Dispose
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Security.Cryptography- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Security.Cryptography.PasswordDeriveBytes- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PasswordDeriveBytes
public PasswordDeriveBytes(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
PasswordDeriveBytes
public PasswordDeriveBytes() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
PasswordDeriveBytes
public PasswordDeriveBytes(byte[] password, byte[] salt, CspParameters cspParams) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, CryptographicException, TypeLoadException
-
PasswordDeriveBytes
public 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- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicExceptionArgumentNullExceptionTypeLoadException
-
PasswordDeriveBytes
public PasswordDeriveBytes(byte[] password, byte[] salt, java.lang.String hashName, int iterations) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CryptographicException, TypeLoadException, NotSupportedException
-
PasswordDeriveBytes
public PasswordDeriveBytes(byte[] password, byte[] salt) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CryptographicException, TypeLoadException, NotSupportedException
-
PasswordDeriveBytes
public PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt, CspParameters cspParams) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, CryptographicException, ArgumentNullException, TypeLoadException, NotSupportedException
-
PasswordDeriveBytes
public PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt, java.lang.String strHashName, int iterations, CspParameters cspParams) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, CryptographicException, InvalidOperationException, TypeLoadException
-
PasswordDeriveBytes
public PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt, java.lang.String strHashName, int iterations) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CryptographicException, TypeLoadException, NotSupportedException
-
PasswordDeriveBytes
public PasswordDeriveBytes(java.lang.String strPassword, byte[] rgbSalt) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CryptographicException, TypeLoadException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDeriveBytes- 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 classDeriveBytes- 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 classDeriveBytes- 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 classDeriveBytes- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDeriveBytes
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDeriveBytes- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PasswordDeriveBytes cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPasswordDeriveBytes, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PasswordDeriveBytesinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CryptDeriveKey
public byte[] CryptDeriveKey(java.lang.String algname, java.lang.String alghashname, int keySize, byte[] rgbIV) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, ExternalException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionNotSupportedExceptionExternalExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
CryptDeriveKey
public byte[] CryptDeriveKey(java.lang.String dupParam0, java.lang.String dupParam1, int dupParam2, JCORefOut dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, ExternalException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionNotSupportedExceptionExternalExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
GetBytes
public byte[] GetBytes(int cb) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, CryptographicUnexpectedOperationException, CryptographicException- Overrides:
GetBytesin classDeriveBytes- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionCryptographicUnexpectedOperationExceptionCryptographicException
-
Reset
public void Reset() throws java.lang.Throwable- Overrides:
Resetin classDeriveBytes- Throws:
java.lang.Throwable
-
getSalt
public byte[] getSalt() throws java.lang.Throwable, PlatformNotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedException
-
setSalt
public void setSalt(byte[] Salt) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException
-
getIterationCount
public int getIterationCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIterationCount
public void setIterationCount(int IterationCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, CryptographicException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionCryptographicException
-
getHashName
public java.lang.String getHashName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setHashName
public void setHashName(java.lang.String HashName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, CryptographicException, TypeLoadException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionCryptographicExceptionTypeLoadExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
-