Table of Contents

Class OutputStreamEncryption

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll
public class OutputStreamEncryption : Stream, IDisposable, IAsyncDisposable
Inheritance
OutputStreamEncryption
Implements
Inherited Members

Constructors

OutputStreamEncryption(Stream, byte[], int)

public OutputStreamEncryption(Stream outc, byte[] key, int revision)

Parameters

outc Stream
key byte[]
revision int

OutputStreamEncryption(Stream, byte[], int, int, int)

public OutputStreamEncryption(Stream outc, byte[] key, int off, int len, int revision)

Parameters

outc Stream
key byte[]
off int
len int
revision int

Fields

Arcfour

protected ArcfourEncryption Arcfour

Field Value

ArcfourEncryption

Cipher

protected AesCipher Cipher

Field Value

AesCipher

Outc

protected Stream Outc

Field Value

Stream

Properties

CanRead

public override bool CanRead { get; }

Property Value

bool

CanSeek

public override bool CanSeek { get; }

Property Value

bool

CanWrite

public override bool CanWrite { get; }

Property Value

bool

Length

public override long Length { get; }

Property Value

long

Position

public override long Position { get; set; }

Property Value

long

Methods

Close()

public override void Close()

Finish()

public void Finish()

Flush()

public override void Flush()

Read(byte[], int, int)

public override int Read(byte[] buffer, int offset, int count)

Parameters

buffer byte[]
offset int
count int

Returns

int

Seek(long, SeekOrigin)

public override long Seek(long offset, SeekOrigin origin)

Parameters

offset long
origin SeekOrigin

Returns

long

SetLength(long)

public override void SetLength(long value)

Parameters

value long

Write(byte[], int, int)

public override void Write(byte[] buffer, int offset, int count)

Parameters

buffer byte[]
offset int
count int

WriteByte(byte)

public override void WriteByte(byte value)

Parameters

value byte