PdfEcdsaPkcs8Signer constructor

PdfEcdsaPkcs8Signer({
  1. required Uint8List pkcs8PrivateKey,
  2. required String namedCurve,
  3. required List<Uint8List> certificates,
  4. String hashAlgorithm = 'SHA-256',
  5. SignatureAdapter? signatureAdapter,
})

Implementation

PdfEcdsaPkcs8Signer({
  required this.pkcs8PrivateKey,
  required this.namedCurve,
  required List<Uint8List> certificates,
  this.hashAlgorithm = 'SHA-256',
  SignatureAdapter? signatureAdapter,
})  : _certificates = List<Uint8List>.unmodifiable(certificates),
      _signatureAdapter = signatureAdapter ?? SignatureAdapter();