diff --git a/api/@ohos.security.cert.d.ts b/api/@ohos.security.cert.d.ts index 54ceff022aa3b26457d1f2f42573f7214cc21585..a910750fb3892fdc843388e14bc4b5bdbd806fe3 100644 --- a/api/@ohos.security.cert.d.ts +++ b/api/@ohos.security.cert.d.ts @@ -6038,6 +6038,25 @@ declare namespace cert { * @since 12 */ keyUsage?: Array; + + /** + * Indicates whether to use system preinstalled CA certificates to verify the certificate chain. + * + * If set to true and trustAnchors is not an empty array, both user trustAnchors and system preinstalled CA + * certificates are used to verify the certificate chain. + * + * If set to true and trustAnchors is an empty array, only system preinstalled CA certificates are used to verify + * the certificate chain. + * + * @type { ?boolean } + * @default false + * @syscap SystemCapability.Security.Cert + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'20','1.2':'20'} + * @arkts 1.1&1.2 + */ + trustSystemCa?: boolean; } /**