CertificatesCallback typedef
CertificatesCallback =
void Function(List<CertificateInfo> , void (List<ByteBuffer> ))
Call this exactly once with the list of certificates that this extension is providing. The list must only contain certificates for which the extension can sign data using the associated private key. If the list contains invalid certificates, these will be ignored. All valid certificates are still registered for the extension. Chrome will call back with the list of rejected certificates, which might be empty.
Implementation
typedef CertificatesCallback = void Function(
List<CertificateInfo>,
void Function(List<ByteBuffer>),
);