DefaultCryptoRandomStream Class
|
|
|
|
|
Derived class from: BaseCryptoRandomStream
Implements the default stream.
The class contains:
Constructors & Destructor
Class methods
Class Constructors & Destructors
|
|
|
DefaultCryptoRandomStream (); |
| |
|
Creates an object of the base class, sets the default values for members. |
|
|
|
DefaultCryptoRandomStream (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ] |
| |
|
Creates a DefaultCryptoRandomStream object with a stream of length length measured in bits. |
|
|
|
DefaultCryptoRandomStream (unsigned char* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ] |
| |
|
Creates a DefaultCryptoRandomStream object with the pointed stream stream of length length measured in bits. |
|
|
|
~DefaultCryptoRandomStream (); |
| |
|
Destroys the object and clears all members. |
|
|
|
void SetCryptoRandomStreamBit (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ] |
| |
|
Creates a stream of length length in bits in the object.
|
|
|
|
void SetCryptoRandomStreamBit (void* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Assigns the pointed stream stream of length length measured in bits to the object.
|
|
|
|
void SetCryptoRandomStreamUC (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Creates a stream of length length measured in unsigned chars in the object.
|
|
|
|
void SetCryptoRandomStreamUC (void* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Assigns the pointed stream stream of length length measured in unsigned chars to the object.
|
|
|
|
void SetCryptoRandomStreamUS (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Creates a stream of length length measured in unsigned short ints in the object.
|
|
|
|
void SetCryptoRandomStreamUS (void* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Assigns the pointed stream stream of length length measured in unsigned short ints to the object.
|
|
|
|
void SetCryptoRandomStreamUL (unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Creates a stream of length length measured in unsigned long ints in the object.
|
|
|
|
void SetCryptoRandomStreamUL (void* stream, unsigned long int length); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Assigns the pointed stream stream of length length measured in unsigned long ints to the object.
|
|
|
|
void SetCryptoRandomStreamHexStream (const char* string); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Creates BaseCryptoRadnomStream and sets the pointed hexadecimal stream as the BaseCryptoRadnomStream data.
Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.
|
|
|
|
void SetBitForward (unsigned short bit); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream bit bit and moves the BaseCryptoRandomStream position to the following bit.
|
|
|
|
void SetBitReverse (unsigned short bit); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Sets the BaseCryptoRandomStream bit bit and moves the BaseCryptoRandomStream position to the previous bit.
|
|
|
|
void SetBitPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream pointer position (position it is calculated in bits), starting value 0.
|
|
|
|
void SetUCPosition (unsigned long int position, unsigned char value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream pointer position (position it is calculated in bytes - unsigned chars - ), starting value 0.
|
|
|
|
void SetUSPosition (unsigned long int position, unsigned short int value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream pointer position (position it is calculated in 2 bytes - unsigned short ints - ), starting value 0.
|
|
|
|
void SetULPosition (unsigned long int position, unsigned long int value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream pointer position (position it is calculated in 4 bytes - unsigned long ints - ), starting value 0.
|
|
|
|
void Set64Position (unsigned __int64 position, unsigned __int64 value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the BaseCryptoRandomStream pointer position (position it is calculated in 8 bytes - unsigned __int64s - ), starting value 0.
|
|
|
|
void FillBit (unsigned short value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the stream to an specified bit value (0 or 1).
|
|
|
|
void FillUC (unsigned char value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the stream to an specified byte (unsigned char) value.
|
|
|
|
void FillUS (unsigned short int value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the stream to an specified 2 bytes (unsigned short int) value.
|
|
|
|
void FillUL (unsigned long int value); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Sets the stream to an specified 4 bytes (unsigned long int) value.
|
|
|
|
void ReduceBitLength (unsigned long int reduceLength); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Reduces considered length of BaseCryptoRandomStream, real length is mantained, but any access to BaseCryptoRandomStream through the interface will be limited to the new considered length. BaseCryptoRandomStream will remain with its original length and using the specified memory. Reduces length in bits.
|
|
|
|
void ReduceUCLength (unsigned long int reduceLength); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Reduces considered length of BaseCryptoRandomStream, real length is mantained, but any access to BaseCryptoRandomStream through the interface will be limited to the new considered length. BaseCryptoRandomStream will remain with its original length and using the specified memory. Reduces length in unsigned chars.
|
|
|
|
void ReduceUSLength (unsigned long int reduceLength); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Reduces considered length of BaseCryptoRandomStream, real length is mantained, but any access to BaseCryptoRandomStream through the interface will be limited to the new considered length. BaseCryptoRandomStream will remain with its original length and using the specified memory. Reduces length in unsigned short ints.
|
|
|
|
void ReduceULLength (unsigned long int reduceLength); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Reduces considered length of BaseCryptoRandomStream, real length is mantained, but any access to BaseCryptoRandomStream through the interface will be limited to the new considered length. BaseCryptoRandomStream will remain with its original length and using the specified memory. Reduces length in unsigned long ints.
|
|
|
|
void RestoreLength (void); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Restores original length of BaseCryptoRandomStream and removes any fictitious reduced length.
|
|
|
|
void Copy (BaseCryptoRandomStream* stream); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Operator copy, copies the content of BaseCryptoRandomStream object to the BaseCryptoRandomStream stream object passed as parameter.
|
|
|
|
virtual void* GetCryptoRandomStreamMemory (void); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets a void pointer to the stream (at starting position 0) contained by the BaseCryptoRandomStream object.
|
|
|
|
unsigned long int GetBitPosition (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current bit position, first bit position is 0.
|
|
|
|
unsigned long int GetBitLength (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length measured in bits.
|
|
|
|
unsigned long int GetUCLength (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length measured in bytes (unsigned chars).
|
|
|
|
unsigned long int GetUSLength (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length measured in 2 bytes (unsigned short ints).
|
|
|
|
unsigned long int GetULLength (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length measured in 4 bytes (unsigned long ints).
|
|
|
|
unsigned __int64 Get64Length (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the current BaseCryptoRandomStream length measured in 8 bytes (unsigned __int64s).
|
|
|
|
unsigned short GetBitPosition (unsigned long position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at a specified position (position measured in bits).
|
|
|
|
unsigned char GetUCPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream byte (unsigned char) at a specified position (position measured in unsigned chars).
|
|
|
|
unsigned short int GetUSPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream unsigned short int at a specified position (position measured in unsigned short ints).
|
|
|
|
unsigned long int GetULPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream unsigned long int at a specified position (position measured in unsigned long ints).
|
|
|
|
unsigned __int64 Get64Position (unsigned __int64 position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream unsigned __int64 at a specified position (position measured in unsigned __int64s).
|
|
|
|
unsigned short GetBitForward (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at the current position and moves the BaseCryptoRandomStream pointer to the following bit.
|
|
|
|
unsigned short GetBitReverse (void); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the BaseCryptoRandomStream bit at the current position and moves the BaseCryptoRandomStream pointer to the previous bit.
|
|
|
|
unsigned char* GetUCAddressPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the unsigned char address at specified postion (position based in array of unsigned chars).
|
|
|
|
unsigned short int* GetUSAddressPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the unsigned short int address at specified postion (position based in array of unsigned short ints).
|
|
|
|
unsigned long int* GetULAddressPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the unsigned long int address at specified postion (position based in array of unsigned long ints).
|
|
|
|
unsigned __int64* Get64AddressPosition (unsigned long int position); [ Inherited from BaseCryptoRandomStream ]
|
| |
|
Gets the unsigned __int64 address at specified postion (position based in array of unsigned __int64s).
|
|
|
|
void GetUCSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified position from BaseCryptoRandomStream object, position based in array of unsigned chars.
|
|
|
|
void GetUSSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified position from BaseCryptoRandomStream object, position based in array of unsigned short ints.
|
|
|
|
void GetULSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified position from BaseCryptoRandomStream object, position based in array of unsigned long ints.
|
|
|
|
void GetUCSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position, unsigned long int length); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified postion with a specified length from baseCryptoRandomStream object, position and length based in array of unsigned chars.
|
|
|
|
void GetUSSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position, unsigned long int length); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified postion with a specified length from baseCryptoRandomStream object, position and length based in array of unsigned short ints.
|
|
|
|
void GetULSubRandomStream (BaseCryptoRandomStream* portionStream, unsigned long int position, unsigned long int length); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Gets the BaseCryptoRandomStream portion stream at specified postion with a specified length from baseCryptoRandomStream object, position and length based in array of unsigned long ints.
|
|
|
|
bool ReducedLength (void); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Indicates if BaseCryptoRandomStream's length has been reduced in a fictitious way.
|
|
|
|
bool Equals(BaseCryptoRandomStream* stream); [ Inherited from BaseCryptoRandomStream ] |
| |
|
Operator equal, compares the BaseCryptoRandomStream object with the BaseCryptoRandomStream stream parameter.
|
|
|
|
CryptoRandomStreams GetCryptoRandomStreamType (void); [ Overridden, BaseCryptoRandomStream virtual method defined ]
|
| |
|
Gets the CryptoRandomStream type of the object.
Is a virtual function that must be defined for each one of the classes derived from this class if you want to create an object of that class.
|
You can check the page Used Symbols for an explanation of the symbols near the information.
|
|
|