// Obtain the PubKey instance by using generateKeyPair() or convertKey() of AsyKeyGenerator. The process is omitted here.
// The binary data of the public key needs to be passed to convertKey() of @ohos.security.cryptoFramework to obtain the PubKey object. The process is omitted here.
letpubKey=null;
letpubKey=null;
// Verify the CRL signature.
// Verify the CRL signature.
...
@@ -441,7 +441,7 @@ function crlEntrySample() {
...
@@ -441,7 +441,7 @@ function crlEntrySample() {
}
}
// Obtain the serial number of the revoked certificate.
// Obtain the serial number of the revoked certificate.
letserialNumber=crlEntry.getSerialNumber();
serialNumber=crlEntry.getSerialNumber();
// Obtain the revocation date of the revoked certificate.
// Obtain the revocation date of the revoked certificate.