setTslUrl method
- String? tslUrl
Sets the the URL to the TSL (Trust Service List).
param tslUrl The URL to the TSL (Trust Service List). throws BiosealException An error has occurred during Bioseal Library execution.
Implementation
void setTslUrl(String? tslUrl) {
Pointer<Char>? pTslUrl = tslUrl?.toNativeUtf8().cast<Char>();
try {
var err = biosealSDK.id3Bioseal_SetTslUrl(_pHandle.value, pTslUrl ?? nullptr);
if (err != BiosealError.success.value) {
throw BiosealException(err);
}
} finally {
if (pTslUrl != null) {
calloc.free(pTslUrl);
}
}
}