diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-19 01:30:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 07:30:58 -0700 |
commit | 9a43a2b4959be288034ef0c43f638542de2028b8 (patch) | |
tree | a1a54e374b3616b9d4ebf318d71fa5c0f5931c9f /ext/net/lib.deno_net.d.ts | |
parent | 3c7057d5832bae61de7f5001df85d2505d6aa9db (diff) |
feat: `Deno.ConnectTlsOptions.{cert,key}` (#22274)
Towards #22197
Diffstat (limited to 'ext/net/lib.deno_net.d.ts')
-rw-r--r-- | ext/net/lib.deno_net.d.ts | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index c56783e9d..00689f764 100644 --- a/ext/net/lib.deno_net.d.ts +++ b/ext/net/lib.deno_net.d.ts @@ -348,10 +348,26 @@ declare namespace Deno { * TLS handshake. */ alpnProtocols?: string[]; - /** PEM formatted client certificate chain. */ + /** + * PEM formatted client certificate chain. + * + * @deprecated This will be removed in Deno 2.0. See the + * {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide} + * for migration instructions. + */ certChain?: string; - /** PEM formatted (RSA or PKCS8) private key of client certificate. */ + /** + * PEM formatted (RSA or PKCS8) private key of client certificate. + * + * @deprecated This will be removed in Deno 2.0. See the + * {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide} + * for migration instructions. + */ privateKey?: string; + /** Server private key in PEM format. */ + key?: string; + /** Cert chain in PEM format. */ + cert?: string; } /** Establishes a secure connection over TLS (transport layer security) using |