ISO7816d4Padding class
A padder that adds the padding according to the scheme referenced in ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00
- Implemented types
Constructors
Properties
- algorithmName → String
-
Get this algorithm's standard name.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPadding(
Uint8List data, int offset) → int -
add the pad bytes to the passed in block, returning the
number of bytes added.
override
-
init(
[CipherParameters? params]) → void -
Initialise the padder. Normally, paddings don't need any init params.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
padCount(
Uint8List data) → int -
return the number of pad bytes present in the block.
override
-
process(
bool pad, Uint8List data) → Uint8List -
Process a whole block of
data
at once, returning the result in a byte array. Ifpad
is true adds padding to the given block, otherwise, padding is removed.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- factoryConfig → FactoryConfig
-
final