add the pad bytes to the passed in block, returning the
number of bytes added.
Note: this assumes that the last block of plain text is always passed to it inside in. i.e. if inOff is zero, indicating the entire block is to be overwritten with padding the value of in should be the same as the last block of plain text.
Namespace: Org.BouncyCastle.Crypto.Paddings
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public virtual int AddPadding( byte[] input, int inOff ) |
Visual Basic |
---|
Public Overridable Function AddPadding ( _ input As Byte(), _ inOff As Integer _ ) As Integer |
Visual C++ |
---|
public: virtual int AddPadding( array<unsigned char>^ input, int inOff ) |