!12317 TLSSocket新增skipRemoteValidation

Merge pull request !12317 from wuzh_iot/master
This commit is contained in:
openharmony_ci 2024-07-22 07:23:16 +00:00 committed by Gitee
commit f63c55e470
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3560,6 +3560,14 @@ declare namespace socket {
* @since 10
*/
cipherSuite?: string;
/**
* Used to set up bidirectional authentication. The default value is false.
* @type {?boolean}
* @syscap SystemCapability.Communication.NetStack
* @since 12
*/
isBidirectionalAuthentication?: boolean;
}
/**
@ -3620,6 +3628,14 @@ declare namespace socket {
* @since 10
*/
ALPNProtocols?: Array<string>;
/**
* Skip identity verification for remote servers. The default value is false.
* @type {?boolean}
* @syscap SystemCapability.Communication.NetStack
* @since 12
*/
skipRemoteValidation?: boolean;
}
/**