getSignatureDate method

DateTime? getSignatureDate()

Gets the the BioSeal signature date.

return The BioSeal signature date. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

DateTime? getSignatureDate() {
  DateTime signatureDate = DateTime();
  var err = biosealSDK.id3Bioseal_GetSignatureDate(_pHandle.value, signatureDate.handle);
  if (err == BiosealError.objectDoesNotExist.value) {
    signatureDate.dispose();
    return null;
  }
  if (err != BiosealError.success.value) {
    signatureDate.dispose();
    throw BiosealException(err);
  }
  return signatureDate;
}