IDecryptStream

class IDecryptStream

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

digraph inheritance455563e6c2 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "IDecryptStream" [URL="acron.core.IDecryptStream.html#acron.core.IDecryptStream",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "istream" -> "IDecryptStream" [arrowsize=0.75,style=""]; "basic_ios_char" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ios_base" -> "basic_ios_char" [arrowsize=0.75,style=""]; "ios_base" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",tooltip="// We need to expose one method in each class to force it to publish."]; "DTOOL_SUPER_BASE" -> "ios_base" [arrowsize=0.75,style=""]; "istream" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "basic_ios_char" -> "istream" [arrowsize=0.75,style=""]; }
IDecryptStream.__init__()
IDecryptStream.close()

Resets the EncryptStream to empty, but does not actually close the source istream unless owns_source was true.

IDecryptStream.get_algorithm()

Returns the encryption algorithm that was read from the stream.

IDecryptStream.get_iteration_count()

Returns the value that was was read from the stream.

IDecryptStream.get_key_length()

Returns the encryption key length, in bits, that was read from the stream.

IDecryptStream.open()