Home
last modified time | relevance | path

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

12

/third_party/node/src/crypto/
Dcrypto_context.cc258 bool SecureContext::HasInstance(Environment* env, const Local<Value>& value) { in HasInstance()
262 Local<FunctionTemplate> SecureContext::GetConstructorTemplate( in GetConstructorTemplate()
269 SecureContext::kInternalFieldCount); in GetConstructorTemplate()
332 void SecureContext::Initialize(Environment* env, Local<Object> target) { in Initialize()
349 void SecureContext::RegisterExternalReferences( in RegisterExternalReferences()
389 SecureContext* SecureContext::Create(Environment* env) { in Create()
397 return new SecureContext(env, obj); in Create()
400 SecureContext::SecureContext(Environment* env, Local<Object> wrap) in SecureContext() function in node::crypto::SecureContext
406 inline void SecureContext::Reset() { in Reset()
415 SecureContext::~SecureContext() { in ~SecureContext()
[all …]
Dcrypto_context.h29 class SecureContext final : public BaseObject {
36 ~SecureContext() override;
43 static SecureContext* Create(Environment* env);
70 SET_MEMORY_INFO_NAME(SecureContext)
71 SET_SELF_SIZE(SecureContext)
139 SecureContext(Environment* env, v8::Local<v8::Object> wrap);
Dcrypto_tls.h141 SecureContext* sc,
171 int SetCACerts(SecureContext* sc);
253 BaseObjectPtr<SecureContext> sni_context_;
254 BaseObjectPtr<SecureContext> sc_;
Dcrypto_common.h51 bool UseSNIContext(const SSLPointer& ssl, BaseObjectPtr<SecureContext> context);
63 bool SetGroups(SecureContext* sc, const char* groups);
Dcrypto_tls.cc142 if (UNLIKELY(size > SecureContext::kMaxSessionSize)) in NewSessionCallback()
285 void ConfigureSecureContext(SecureContext* sc) { in ConfigureSecureContext()
322 SecureContext* sc, in TLSWrap()
464 env, obj, kind, stream, Unwrap<SecureContext>(sc), under_stream_ws); in Wrap()
1308 SecureContext* sc = Unwrap<SecureContext>(ctx.As<Object>()); in SelectSNIContextCallback()
1310 p->sni_context_ = BaseObjectPtr<SecureContext>(sc); in SelectSNIContextCallback()
1319 int TLSWrap::SetCACerts(SecureContext* sc) { in SetCACerts()
1500 SecureContext* sc = Unwrap<SecureContext>(ctx.As<Object>()); in CertCbDone()
1503 w->sni_context_ = BaseObjectPtr<SecureContext>(sc); in CertCbDone()
Dcrypto_common.cc144 const SSLPointer& ssl, BaseObjectPtr<SecureContext> context) { in UseSNIContext()
208 bool SetGroups(SecureContext* sc, const char* groups) { in SetGroups()
DREADME.md38 | `crypto_context` | Implementation of the `SecureContext` object. …
/third_party/node/lib/
D_tls_common.js72 SecureContext: NativeSecureContext,
75 function SecureContext(secureProtocol, secureOptions, minVersion, maxVersion) { class
76 if (!(this instanceof SecureContext)) {
77 return new SecureContext(secureProtocol, secureOptions, minVersion,
114 const c = new SecureContext(secureProtocol, secureOptions,
157 SecureContext, property
Dtls.js342 exports.SecureContext = _tls_common.SecureContext;
D_tls_wrap.js68 const { SecureContext: NativeSecureContext } = internalBinding('crypto');
1521 context instanceof common.SecureContext ? context : tls.createSecureContext(context);
/third_party/node/src/quic/
Dtlscontext.cc93 BaseObjectPtr<crypto::SecureContext> InitializeSecureContext( in InitializeSecureContext()
95 auto context = crypto::SecureContext::Create(env); in InitializeSecureContext()
105 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
135 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
152 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
156 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
177 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
196 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
210 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
225 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext()
[all …]
Dtlscontext.h162 BaseObjectPtr<crypto::SecureContext> secure_context_;
/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/test/fixtures/wpt/interfaces/
DWebCryptoAPI.idl12 [SecureContext] readonly attribute SubtleCrypto subtle;
32 [SecureContext,Exposed=(Window,Worker)]
42 [SecureContext,Exposed=(Window,Worker)]
Dhtml.idl2045 [SecureContext] undefined registerProtocolHandler(DOMString scheme, USVString url);
2046 [SecureContext] undefined unregisterProtocolHandler(DOMString scheme, USVString url);
2311 [Exposed=Worklet, SecureContext]
2314 [Exposed=Window, SecureContext]
/third_party/node/src/
Dnode_crypto.cc54 V(SecureContext) \
/third_party/node/tools/doc/
Dtype-parser.mjs213 'tls.SecureContext': 'tls.html#tlscreatesecurecontextoptions',
/third_party/node/doc/api/
Dtls.md731 * `context` {Object|tls.SecureContext} An object containing any of the possible
1961 The `tls.createSecureContext()` method creates a `SecureContext` object. It is
2096 `ctx`, if provided, is a `SecureContext` instance.
2097 [`tls.createSecureContext()`][] can be used to get a proper `SecureContext`.
Ddeprecations.md315 The `crypto.Credentials` class was removed. Please use [`tls.SecureContext`][]
3435 [`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions
Derrors.md2751 The context must be a `SecureContext`.
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md803 …odejs/node/commit/864b97b24d)] - **tls**: use recently added matching SecureContext in default SNI…
1174 …s://github.com/nodejs/node/commit/58319d5336)] - **tls**: forward new SecureContext options (Alba …
1451 …commit/a81dc9ae18)] - **src,crypto**: refactoring of crypto\_context, SecureContext (James M Snell…
DCHANGELOG_V18.md782 …(https://github.com/nodejs/node/commit/19b0f244b2)] - **tls**: accept SecureContext object in serv…
1151 …de/commit/3aef68d079)] - **src**: add additional utilities to crypto::SecureContext (James M Snell…
2596 …(https://github.com/nodejs/node/commit/1cdccbc845)] - **tls**: remove SecureContext setFreeListLen…
3447 * \[[`6ee9fb14e4`](https://github.com/nodejs/node/commit/6ee9fb14e4)] - **src**: make SecureContext
3450 …(https://github.com/nodejs/node/commit/72a767b7ca)] - **src**: remove SecureContext::operator\* (T…
DCHANGELOG_V16.md2668 …ttps://github.com/nodejs/node/commit/6c9b19a7af)] - **src**: refactor SecureContext Initialization…
2725 …s://github.com/nodejs/node/commit/eb20447407)] - **tls**: extract out SecureContext configuration …

12