mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-03-04 23:37:33 +00:00
!12317 TLSSocket新增skipRemoteValidation
Merge pull request !12317 from wuzh_iot/master
This commit is contained in:
commit
f63c55e470
16
api/@ohos.net.socket.d.ts
vendored
16
api/@ohos.net.socket.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user