getAuthCertificate static method

Future<List<int>> getAuthCertificate()

Implementation

static Future<List<int>> getAuthCertificate() async {
  // SELECT FILE 公的個人認証AP
  var selectFile = await FlutterNfcMynumber.transceive(
      Uint8List.fromList(MynumberCommand.commandSelectFile));
  commandResultCheck(selectFile);

  // SELECT FILE 認証用証明書
  var selectFileAuthCertResult = await FlutterNfcMynumber.transceive(
      Uint8List.fromList(MynumberCommand.commandSelectFileAuthCert));
  commandResultCheck(selectFileAuthCertResult);

  // READ BINARY
  return await readBinary();
}