addCertificateStore method
Adds a certificate to the certificate store.
Throws RangeError if the certificate is too large or the store is full.
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);
}