| key | cryptoFramework.PubKey | Yes | Public key used for signature verification. |
| key | cryptoFramework.PubKey | Yes | Public key used for signature verification. |
| callback | AsyncCallback\<void> | Yes | Callback invoked to return the result. If **error** is **null**, the signature verification is successful. If **error** is not **null**, the signature verification fails.|
...
...
@@ -1264,7 +1263,7 @@ cryptoCert.createX509Crl(encodingBlob, function (error, x509Crl) {
// 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;
// Verify the CRL signature.
...
...
@@ -441,7 +441,7 @@ function crlEntrySample() {
}
// Obtain the serial number of the revoked certificate.
letserialNumber=crlEntry.getSerialNumber();
serialNumber=crlEntry.getSerialNumber();
// Obtain the revocation date of the revoked certificate.