提交 95ce2502 编写于 作者: Q qiaozzzh

XTS adaptation

Signed-off-by: Nqiaozzzh <qiaozhang@huawei.com>
Change-Id: Ief94c2920228c788e0dfb2abe883cf265bfa14a6
上级 dda548c3
...@@ -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.
先完成此消息的编辑!
想要评论请 注册