Home
last modified time | relevance | path

Searched refs:SecureContext (Results 1 – 21 of 21) sorted by relevance

/third_party/node/lib/
D_tls_common.js60 const { SecureContext: NativeSecureContext } = internalBinding('crypto');
61 function SecureContext(secureProtocol, secureOptions, minVersion, maxVersion) { class
62 if (!(this instanceof SecureContext)) {
63 return new SecureContext(secureProtocol, secureOptions, minVersion,
92 exports.SecureContext = SecureContext;
102 const c = new SecureContext(options.secureProtocol, secureOptions,
Dtls.js389 exports.SecureContext = _tls_common.SecureContext;
D_tls_wrap.js57 const { SecureContext: NativeSecureContext } = internalBinding('crypto');
/third_party/node/src/
Dnode_crypto.cc131 template void SSLWrap<TLSWrap>::ConfigureSecureContext(SecureContext* sc);
132 template int SSLWrap<TLSWrap>::SetCACerts(SecureContext* sc);
472 void SecureContext::Initialize(Environment* env, Local<Object> target) { in Initialize()
475 SecureContext::kInternalFieldCount); in Initialize()
543 SecureContext::SecureContext(Environment* env, Local<Object> wrap) in SecureContext() function in node::crypto::SecureContext
549 inline void SecureContext::Reset() { in Reset()
558 SecureContext::~SecureContext() { in ~SecureContext()
562 void SecureContext::New(const FunctionCallbackInfo<Value>& args) { in New()
564 new SecureContext(env, args.This()); in New()
571 void SecureContext::Init(const FunctionCallbackInfo<Value>& args) { in Init()
[all …]
Dtls_wrap.h44 class SecureContext; variable
116 crypto::SecureContext* sc);
190 crypto::SecureContext* sc_;
Dnode_crypto.h89 class SecureContext final : public BaseObject {
91 ~SecureContext() override;
99 SET_MEMORY_INFO_NAME(SecureContext)
100 SET_SELF_SIZE(SecureContext)
182 SecureContext(Environment* env, v8::Local<v8::Object> wrap);
196 SSLWrap(Environment* env, SecureContext* sc, Kind kind) in SSLWrap()
232 static void ConfigureSecureContext(SecureContext* sc);
288 int SetCACerts(SecureContext* sc);
309 BaseObjectPtr<SecureContext> sni_context_;
311 friend class SecureContext; variable
Dnode_crypto_common.h68 int UseSNIContext(const SSLPointer& ssl, BaseObjectPtr<SecureContext> context);
80 bool SetGroups(SecureContext* sc, const char* groups);
Dtls_wrap.cc38 using crypto::SecureContext;
63 SecureContext* sc) in TLSWrap()
193 TLSWrap* res = new TLSWrap(env, obj, kind, stream, Unwrap<SecureContext>(sc)); in Wrap()
1105 SecureContext* sc = Unwrap<SecureContext>(ctx.As<Object>()); in SelectSNIContextCallback()
1107 p->sni_context_ = BaseObjectPtr<SecureContext>(sc); in SelectSNIContextCallback()
Dnode_crypto_common.cc161 int UseSNIContext(const SSLPointer& ssl, BaseObjectPtr<SecureContext> context) { in UseSNIContext()
225 bool SetGroups(SecureContext* sc, const char* groups) { in SetGroups()
/third_party/node/test/parallel/
Dtest-tls-clientcertengine-unsupported.js12 const NativeSecureContext = binding.SecureContext;
14 binding.SecureContext = function() { class in binding
Dtest-tls-keyengine-unsupported.js12 const NativeSecureContext = binding.SecureContext;
14 binding.SecureContext = function() { class in binding
Dtest-accessor-properties.js46 crypto.SecureContext.prototype._external; class in crypto
51 crypto.SecureContext.prototype, '_external'),
/third_party/node/tools/doc/
Dtype-parser.mjs164 'tls.SecureContext': 'tls.html#tls_tls_createsecurecontext_options',
/third_party/node/test/fixtures/wpt/interfaces/
Dhtml.idl1631 [SecureContext] readonly attribute ApplicationCache applicationCache;
1725 [SecureContext,
1972 [SecureContext] void registerProtocolHandler(DOMString scheme, USVString url);
1973 [SecureContext] void unregisterProtocolHandler(DOMString scheme, USVString url);
/third_party/node/doc/api/
Dtls.md1742 The `tls.createSecureContext()` method creates a `SecureContext` object. It is
1867 `ctx`, if provided, is a `SecureContext` instance.
1868 [`tls.createSecureContext()`][] can be used to get a proper `SecureContext`.
Ddeprecations.md303 The `crypto.Credentials` class was removed. Please use [`tls.SecureContext`][]
2758 [`tls.SecureContext`]: tls.md#tls_tls_createsecurecontext_options
Derrors.md2020 The context must be a `SecureContext`.
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md2104 …s://github.com/nodejs/node/commit/08ed2337ea)] - **tls**: forward new SecureContext options (Alba …
3257 …github.com/nodejs/node/commit/9d40af54a6)] - **src**: avoid strcmp in SecureContext::Init (Tobias …
DCHANGELOG_IOJS.md1379 …om/nodejs/node/commit/f7620fb96d)] - **tls_wrap**: Unlink TLSWrap and SecureContext objects (Сково…
DCHANGELOG_V10.md1491 …thub.com/nodejs/node/commit/8cfbce3163)] - **src**: revert removal of SecureContext `_external` ge…
3797 …(https://github.com/nodejs/node/commit/44fdd36b96)] - **src**: remove SecureContext `_external` ge…
DCHANGELOG_V11.md2804 …thub.com/nodejs/node/commit/f40b1dbe5d)] - **src**: revert removal of SecureContext `_external` ge…