addCertificateStore method

void addCertificateStore(
  1. Uint8List certificate
)

Implementation

void addCertificateStore(Uint8List certificate) {
  if (certificate.length >= 1 << 16) {
    throw RangeError.range(certificate.length, 1 << 16, null);
  }
  if (_certificateStore.length >= 1 << 4) {
    throw RangeError.range(_certificateStore.length, 1 << 4, null);
  }
  _certificateStore.add(certificate);
}