Dart.PowerTCP.Zip Namespace > AesEncryptingStream Class : AesEncryptingStream Constructor |
Public Function New( _ ByVal innerStream As Stream, _ ByVal encryption As Encryption, _ ByVal password As String _ )
Dim innerStream As Stream Dim encryption As Encryption Dim password As String Dim instance As New AesEncryptingStream(innerStream, encryption, password)
public AesEncryptingStream( Stream innerStream, Encryption encryption, string password )
public: AesEncryptingStream( Stream* innerStream, Encryption encryption, string* password )
public: AesEncryptingStream( Stream^ innerStream, Encryption encryption, String^ password )
AES encryption will be applied to all bytes passing through this stream. Header and trailer bytes are added.
Flush() must be used after the final Write() to generate trailing authentication code bytes.