Panda3D
|
An input stream object that uses OpenSSL to decrypt the input from another source stream on-the-fly. More...
#include <pandadoc.hpp>
Public Member Functions | |
__init__ () | |
__init__ (Istream source, bool owns_source, str password) | |
IDecryptStream | close () |
Resets the EncryptStream to empty, but does not actually close the source istream unless owns_source was true. More... | |
str | getAlgorithm () |
Returns the encryption algorithm that was read from the stream. More... | |
int | getIterationCount () |
Returns the value that was was read from the stream. More... | |
int | getKeyLength () |
Returns the encryption key length, in bits, that was read from the stream. More... | |
IDecryptStream | open (Istream source, bool owns_source, str password) |
![]() | |
int | get () |
seekg (Streamoff off, IosBase::Seekdir dir) | |
seekg (Streamoff pos) | |
Streamoff | tellg () |
![]() | |
bool | bad () |
clear () | |
bool | eof () |
bool | fail () |
bool | good () |
Public Attributes | |
const String | algorithm |
Returns the encryption algorithm that was read from the stream. More... | |
int | iteration_count |
Returns the value that was was read from the stream. More... | |
int | key_length |
Returns the encryption key length, in bits, that was read from the stream. More... | |
Additional Inherited Members | |
![]() | |
enum | Iostate |
enum | Openmode |
enum | Seekdir { beg = 0 , cur = 1 , end = 2 } |
An input stream object that uses OpenSSL to decrypt the input from another source stream on-the-fly.
Attach an IDecryptStream to an existing istream that provides encrypted data, as generated by an OEncryptStream, and read the corresponding unencrypted data from the IDecryptStream.
Seeking is not supported.
__init__ | ( | ) |
__init__ | ( | Istream | source, |
bool | owns_source, | ||
str | password | ||
) |
IDecryptStream close | ( | ) |
Resets the EncryptStream to empty, but does not actually close the source istream unless owns_source was true.
str getAlgorithm | ( | ) |
Returns the encryption algorithm that was read from the stream.
int getIterationCount | ( | ) |
Returns the value that was was read from the stream.
int getKeyLength | ( | ) |
Returns the encryption key length, in bits, that was read from the stream.
IDecryptStream open | ( | Istream | source, |
bool | owns_source, | ||
str | password | ||
) |
const String algorithm |
Returns the encryption algorithm that was read from the stream.
int iteration_count |
Returns the value that was was read from the stream.
int key_length |
Returns the encryption key length, in bits, that was read from the stream.