IDecryptStream
from panda3d.core import IDecryptStream
- class IDecryptStream
Bases:
Bases:
istream
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.
Inheritance diagram
- __init__()
- property algorithm string
Returns the encryption algorithm that was read from the stream.
- close() IDecryptStream
Resets the EncryptStream to empty, but does not actually close the source istream unless owns_source was true.
- property key_length int
Returns the encryption key length, in bits, that was read from the stream.
- open(source: istream, owns_source: bool, password: str) IDecryptStream