未验证 提交 df8a3b73 编写于 作者: O openharmony_ci 提交者: Gitee

!9622 【OpenHarmony 4.0.9.5】【安全子系统】【master】XTS adaptation

Merge pull request !9622 from qiaozzzh/0731_1
...@@ -197,6 +197,8 @@ async function getX509CertInfoCallback(certType, processType) { ...@@ -197,6 +197,8 @@ async function getX509CertInfoCallback(certType, processType) {
let serialNumber = gInstance.getSerialNumber(); let serialNumber = gInstance.getSerialNumber();
console.log(processType + " is : " + serialNumber); console.log(processType + " is : " + serialNumber);
expect(serialNumber != null).assertTrue(); expect(serialNumber != null).assertTrue();
let certSerialNumber = gInstance.getCertSerialNumber();
expect(certSerialNumber != null).assertTrue();
break; break;
case "getIssuerName": case "getIssuerName":
let issuerName = gInstance.getIssuerName(); let issuerName = gInstance.getIssuerName();
......
...@@ -185,6 +185,8 @@ async function getX509CertInfoPromise(certType, processType) { ...@@ -185,6 +185,8 @@ async function getX509CertInfoPromise(certType, processType) {
let serialNumber = gInstance.getSerialNumber(); let serialNumber = gInstance.getSerialNumber();
console.log(processType + " is : " + serialNumber); console.log(processType + " is : " + serialNumber);
expect(serialNumber != null).assertTrue(); expect(serialNumber != null).assertTrue();
let certSerialNumber = gInstance.getCertSerialNumber();
expect(certSerialNumber != null).assertTrue();
break; break;
case "getIssuerName": case "getIssuerName":
let issuerName = gInstance.getIssuerName(); let issuerName = gInstance.getIssuerName();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册