Skip to content

Commit f97e57c

Browse files
committed
Updates
1 parent 00904cb commit f97e57c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+177
-157
lines changed

assets/hierarchy.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/icons.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/icons.svg

+1-1
Loading

assets/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/navigation.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/search.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/style.css

+13-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/Context.html

+2-2
Large diffs are not rendered by default.

classes/Dealer.html

+9-8
Large diffs are not rendered by default.

classes/Observer.html

+5-5
Large diffs are not rendered by default.

classes/Pair.html

+9-8
Large diffs are not rendered by default.

classes/Proxy.html

+2-2
Large diffs are not rendered by default.

classes/Publisher.html

+6-5
Large diffs are not rendered by default.

classes/Pull.html

+8-7
Large diffs are not rendered by default.

classes/Push.html

+6-5
Large diffs are not rendered by default.

classes/Reply.html

+9-8
Large diffs are not rendered by default.

classes/Request.html

+9-8
Large diffs are not rendered by default.

classes/Router.html

+8-7
Large diffs are not rendered by default.

classes/Socket.html

+6-5
Large diffs are not rendered by default.

classes/Stream.html

+8-7
Large diffs are not rendered by default.

classes/Subscriber.html

+10-9
Large diffs are not rendered by default.

classes/XPublisher.html

+9-8
Large diffs are not rendered by default.

classes/XSubscriber.html

+9-8
Large diffs are not rendered by default.

functions/curveKeyPair.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctypehtml><html class=default lang=en><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><title>curveKeyPair | zeromq.js</title><meta name=description content="Documentation for zeromq.js"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=../assets/style.css><link rel=stylesheet href=../assets/highlight.css><script defer=defer src=../assets/main.js></script><script async src=../assets/icons.js id=tsd-icons-script></script><script async src=../assets/search.js id=tsd-search-script></script><script async src=../assets/navigation.js id=tsd-nav-script></script><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os",document.body.style.display="none",setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class=tsd-page-toolbar><div class="tsd-toolbar-contents container"><div class=table-cell id=tsd-search data-base=..><div class=field><label for=tsd-search-field class="tsd-widget tsd-toolbar-icon search no-caption"><svg width=16 height=16 viewBox="0 0 16 16"fill=none><use href=../assets/icons.svg#icon-search></use></svg></label><input type=text id=tsd-search-field aria-label=Search></div><div class=field><div id=tsd-toolbar-links></div></div><ul class=results><li class="state loading">Preparing search index...<li class="state failure">The search index is not available</ul><a href=../index.html class=title>zeromq.js</a></div><div class=table-cell id=tsd-widgets><a href=# class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle=menu aria-label=Menu><svg width=16 height=16 viewBox="0 0 16 16"fill=none><use href=../assets/icons.svg#icon-menu></use></svg></a></div></div></header><div class="container container-main"><div class=col-content><div class=tsd-page-title><ul class=tsd-breadcrumb><li><a href=../modules.html>zeromq.js</a><li><a href=curveKeyPair.html>curveKeyPair</a></ul><h1>Function curveKeyPair</h1></div><section class=tsd-panel><ul class=tsd-signatures><li class="tsd-signature tsd-anchor-link"><a id=curveKeyPair class=tsd-anchor></a><span class=tsd-kind-call-signature>curve<wbr>Key<wbr>Pair</span><span class=tsd-signature-symbol>(</span><span class=tsd-signature-symbol>)</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-symbol>{</span><br><span>    </span><span class=tsd-kind-property>publicKey</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span><br><span>    </span><span class=tsd-kind-property>secretKey</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span><br><span class=tsd-signature-symbol>}</span><a href=#curveKeyPair aria-label=Permalink class=tsd-anchor-icon><svg viewBox="0 0 24 24"><use href=../assets/icons.svg#icon-anchor></use></svg></a><li class=tsd-description><div class="tsd-comment tsd-typography"><p>Returns a new random key pair to be used with the CURVE security mechanism.<p>To correctly connect two sockets with this mechanism:<ul><li>Generate a <strong>client</strong> keypair with <a href=curveKeyPair.html class=tsd-kind-function>curveKeyPair</a>().<ul><li>Assign the private and public key on the client socket with <a href=../classes/Socket.html#curveSecretKey class=tsd-kind-property>Socket.curveSecretKey</a> and <a href=../classes/Socket.html#curvePublicKey class=tsd-kind-property>Socket.curvePublicKey</a>.</ul><li>Generate a <strong>server</strong> keypair with <a href=curveKeyPair.html class=tsd-kind-function>curveKeyPair</a>().<ul><li>Assign the private key on the server socket with <a href=../classes/Socket.html#curveSecretKey class=tsd-kind-property>Socket.curveSecretKey</a>.<li>Assign the public key <strong>on the client socket</strong> with <a href=../classes/Socket.html#curveServerKey class=tsd-kind-property>Socket.curveServerKey</a>. The server does <em>not</em> need to know its own public key. Key distribution is <em>not</em> handled by the CURVE security mechanism.</ul></ul></div><h4 class=tsd-returns-title>Returns <span class=tsd-signature-symbol>{</span><br><span>    </span><span class=tsd-kind-property>publicKey</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span><br><span>    </span><span class=tsd-kind-property>secretKey</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span><br><span class=tsd-signature-symbol>}</span></h4><p>An object with a <code>publicKey</code> and a <code>secretKey</code> property, each being a 40 character Z85-encoded string.<ul class=tsd-parameters><li class=tsd-parameter><h5><span class=tsd-kind-property>public<wbr>Key</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span></h5><li class=tsd-parameter><h5><span class=tsd-kind-property>secret<wbr>Key</span><span class=tsd-signature-symbol>: </span><span class=tsd-signature-type>string</span></h5></ul><div class="tsd-comment tsd-typography"></div><aside class=tsd-sources><ul><li>Defined in <a href=https://github.com/zeromq/zeromq.js/blob/b28a42b0be543e6eb17843a5cdda8a07ef192707/src/native.ts#L58>native.ts:58</a></ul></aside></ul></section></div><div class=col-sidebar><div class=page-menu><div class="tsd-navigation settings"><details class=tsd-accordion><summary class=tsd-accordion-summary><h3><svg width=20 height=20 viewBox="0 0 24 24"fill=none><use href=../assets/icons.svg#icon-chevronDown></use></svg>Settings</h3></summary><div class=tsd-accordion-details><div class=tsd-filter-visibility><span class=settings-label>Member Visibility</span><ul id=tsd-filter-options><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-protected name=protected><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>Protected</span></label><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-inherited name=inherited checked=checked><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>Inherited</span></label><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-external name=external><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>External</span></label></ul></div><div class=tsd-theme-toggle><label class=settings-label for=tsd-theme>Theme</label><select id=tsd-theme><option value=os>OS<option value=light>Light<option value=dark>Dark</select></div></div></details></div></div><div class=site-menu><nav class=tsd-navigation><a href=../modules.html><svg class=tsd-kind-icon viewBox="0 0 24 24"><use href=../assets/icons.svg#icon-1></use></svg><span>zeromq.js</span></a><ul class=tsd-small-nested-navigation id=tsd-nav-container data-base=..><li>Loading...</ul></nav></div></div></div><footer><p class=tsd-generator>Generated using <a href=https://typedoc.org/ target=_blank>TypeDoc</a></footer><div class=overlay></div>
1+
<!doctypehtml><html class=default lang=en data-base=..><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><title>curveKeyPair | zeromq.js</title><meta name=description content="Documentation for zeromq.js"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=../assets/style.css><link rel=stylesheet href=../assets/highlight.css><script defer=defer src=../assets/main.js></script><script async src=../assets/icons.js id=tsd-icons-script></script><script async src=../assets/search.js id=tsd-search-script></script><script async src=../assets/navigation.js id=tsd-nav-script></script><script async src=../assets/hierarchy.js id=tsd-hierarchy-script></script><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os",document.body.style.display="none",setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class=tsd-page-toolbar><div class="tsd-toolbar-contents container"><div class=table-cell id=tsd-search><div class=field><label for=tsd-search-field class="tsd-widget tsd-toolbar-icon search no-caption"><svg width=16 height=16 viewBox="0 0 16 16"fill=none><use href=../assets/icons.svg#icon-search></use></svg></label><input type=text id=tsd-search-field aria-label=Search></div><div class=field><div id=tsd-toolbar-links></div></div><ul class=results><li class="state loading">Preparing search index...<li class="state failure">The search index is not available</ul><a href=../index.html class=title>zeromq.js</a></div><div class=table-cell id=tsd-widgets><a href=# class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle=menu aria-label=Menu><svg width=16 height=16 viewBox="0 0 16 16"fill=none><use href=../assets/icons.svg#icon-menu></use></svg></a></div></div></header><div class="container container-main"><div class=col-content><div class=tsd-page-title><ul class=tsd-breadcrumb><li><a href=../modules.html>zeromq.js</a><li><a href=curveKeyPair.html>curveKeyPair</a></ul><h1>Function curveKeyPair</h1></div><section class=tsd-panel><ul class=tsd-signatures><li class="tsd-signature tsd-anchor-link"><a id=curvekeypair class=tsd-anchor></a><span class=tsd-kind-call-signature>curveKeyPair</span><span class=tsd-signature-symbol>()</span><span class=tsd-signature-symbol>:</span> <span class=tsd-signature-symbol>{</span> <span class=tsd-kind-property>publicKey</span><span class=tsd-signature-symbol>:</span> <span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span> <span class=tsd-kind-property>secretKey</span><span class=tsd-signature-symbol>:</span> <span class=tsd-signature-type>string</span> <span class=tsd-signature-symbol>}</span><a href=#curvekeypair aria-label=Permalink class=tsd-anchor-icon><svg viewBox="0 0 24 24"><use href=../assets/icons.svg#icon-anchor></use></svg></a><li class=tsd-description><div class="tsd-comment tsd-typography"><p>Returns a new random key pair to be used with the CURVE security mechanism.<p>To correctly connect two sockets with this mechanism:<ul><li>Generate a <strong>client</strong> keypair with <a href=curveKeyPair.html class=tsd-kind-function>curveKeyPair</a>().<ul><li>Assign the private and public key on the client socket with <a href=../classes/Socket.html#curvesecretkey class=tsd-kind-property>Socket.curveSecretKey</a> and <a href=../classes/Socket.html#curvepublickey class=tsd-kind-property>Socket.curvePublicKey</a>.</ul><li>Generate a <strong>server</strong> keypair with <a href=curveKeyPair.html class=tsd-kind-function>curveKeyPair</a>().<ul><li>Assign the private key on the server socket with <a href=../classes/Socket.html#curvesecretkey class=tsd-kind-property>Socket.curveSecretKey</a>.<li>Assign the public key <strong>on the client socket</strong> with <a href=../classes/Socket.html#curveserverkey class=tsd-kind-property>Socket.curveServerKey</a>. The server does <em>not</em> need to know its own public key. Key distribution is <em>not</em> handled by the CURVE security mechanism.</ul></ul></div><h4 class=tsd-returns-title>Returns <span class=tsd-signature-symbol>{</span> <span class=tsd-kind-property>publicKey</span><span class=tsd-signature-symbol>:</span> <span class=tsd-signature-type>string</span><span class=tsd-signature-symbol>;</span> <span class=tsd-kind-property>secretKey</span><span class=tsd-signature-symbol>:</span> <span class=tsd-signature-type>string</span> <span class=tsd-signature-symbol>}</span></h4><p>An object with a <code>publicKey</code> and a <code>secretKey</code> property, each being a 40 character Z85-encoded string.<div class="tsd-comment tsd-typography"></div><aside class=tsd-sources><ul><li>Defined in <a href=https://github.com/zeromq/zeromq.js/blob/2069817c29ae8aacf1efd2f6f08ca348b8499a36/src/native.ts#L59>native.ts:59</a></ul></aside></ul></section></div><div class=col-sidebar><div class=page-menu><div class="tsd-navigation settings"><details class=tsd-accordion><summary class=tsd-accordion-summary><h3><svg width=20 height=20 viewBox="0 0 24 24"fill=none><use href=../assets/icons.svg#icon-chevronDown></use></svg>Settings</h3></summary><div class=tsd-accordion-details><div class=tsd-filter-visibility><span class=settings-label>Member Visibility</span><ul id=tsd-filter-options><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-protected name=protected><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>Protected</span></label><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-inherited name=inherited checked=checked><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>Inherited</span></label><li class=tsd-filter-item><label class=tsd-filter-input><input type=checkbox id=tsd-filter-external name=external><svg width=32 height=32 viewBox="0 0 32 32"aria-hidden=true><rect class=tsd-checkbox-background width=30 height=30 x=1 y=1 rx=6 fill=none></rect><path class=tsd-checkbox-checkmark d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"stroke=none stroke-width=3.5 stroke-linejoin=round fill=none></path></svg><span>External</span></label></ul></div><div class=tsd-theme-toggle><label class=settings-label for=tsd-theme>Theme</label><select id=tsd-theme><option value=os>OS<option value=light>Light<option value=dark>Dark</select></div></div></details></div></div><div class=site-menu><nav class=tsd-navigation><a href=../modules.html>zeromq.js</a><ul class=tsd-small-nested-navigation id=tsd-nav-container><li>Loading...</ul></nav></div></div></div><footer><p class=tsd-generator>Generated using <a href=https://typedoc.org/ target=_blank>TypeDoc</a></footer><div class=overlay></div>

0 commit comments

Comments
 (0)