diff --git a/api/@ohos.security.cert.d.ts b/api/@ohos.security.cert.d.ts index 0e13a7af5c0ca766ccfb1b31552da612efa5ed0c..305673983beb36e1c8923103841f0674990b2abc 100644 --- a/api/@ohos.security.cert.d.ts +++ b/api/@ohos.security.cert.d.ts @@ -6184,7 +6184,7 @@ declare namespace cert { * Used to obtain the CMS final data, such as CMS signed data. * * @param { Uint8Array } data - the content data for CMS operation. - * @param { CmsGeneratorOptions } options - the configuration options for CMS operation. + * @param { CmsGeneratorOptions } [options] - the configuration options for CMS operation. * @returns { Promise } the promise returned by the function. * @throws { BusinessError } 401 - invalid parameters. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed. @@ -6202,7 +6202,7 @@ declare namespace cert { * Used to obtain the CMS final data, such as CMS signed data. * * @param { Uint8Array } data - the content data for CMS operation. - * @param { CmsGeneratorOptions } options - the configuration options for CMS operation. + * @param { CmsGeneratorOptions } [options] - the configuration options for CMS operation. * @returns { Uint8Array | string } the CMS final data. * @throws { BusinessError } 401 - invalid parameters. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types; 3. Parameter verification failed.