SigningBlockEncoder.create constructor

SigningBlockEncoder.create({
  1. required Uint8List message,
  2. required Uint8List signature,
  3. required PublicKey publicKey,
  4. int algoId = 0x0201,
})

Implementation

SigningBlockEncoder.create(
    {required Uint8List message,
    required Uint8List signature,
    required PublicKey publicKey,
    int algoId = 0x0201})
    : super() {
  signingBlock = ZipSigningBlock.create(signingBlocks: [
    SigningBlock.create(
        messages: [message], signatures: [signature], publicKeys: [publicKey])
  ]);
}