Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-crypto
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-crypto
Commits
d6ac6a68
Commit
d6ac6a68
authored
Feb 05, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update auto-generated rst
parent
e7a80b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
vmod_crypto.rst
src/vmod_crypto.rst
+12
-11
No files found.
src/vmod_crypto.rst
View file @
d6ac6a68
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.. _vmod_crypto(3):
.. _vmod_crypto(3):
======================================================
======================================================
vmod_
crypto - Public Key hash verification for Varnish
VMOD
crypto - Public Key hash verification for Varnish
======================================================
======================================================
SYNOPSIS
SYNOPSIS
...
@@ -20,16 +20,17 @@ SYNOPSIS
...
@@ -20,16 +20,17 @@ SYNOPSIS
import crypto [from "path"]
import crypto [from "path"]
:ref:`
obj_
verifier`
:ref:`
vmod_crypto.
verifier`
:ref:`func_
verifier.update`
:ref:`vmod_crypto.
verifier.update`
:ref:`func_
verifier.update_blob`
:ref:`vmod_crypto.
verifier.update_blob`
:ref:`func_
verifier.reset`
:ref:`vmod_crypto.
verifier.reset`
:ref:`func_
verifier.valid`
:ref:`vmod_crypto.
verifier.valid`
DESCRIPTION
DESCRIPTION
===========
===========
...
@@ -58,7 +59,7 @@ Example
...
@@ -58,7 +59,7 @@ Example
}
}
} -start
} -start
.. _
obj_
verifier:
.. _
vmod_crypto.
verifier:
new xverifier = crypto.verifier(ENUM digest, STRING key)
new xverifier = crypto.verifier(ENUM digest, STRING key)
--------------------------------------------------------
--------------------------------------------------------
...
@@ -79,21 +80,21 @@ The cryptographic method to be used and the key length are
...
@@ -79,21 +80,21 @@ The cryptographic method to be used and the key length are
automatically determined from _key_. Typically supported methods
automatically determined from _key_. Typically supported methods
comprise RSA and DSA.
comprise RSA and DSA.
.. _
func_
verifier.update:
.. _
vmod_crypto.
verifier.update:
BOOL xverifier.update(STRING)
BOOL xverifier.update(STRING)
-----------------------------
-----------------------------
Add strings to the data to be verfied with the verifier object.
Add strings to the data to be verfied with the verifier object.
.. _
func_
verifier.update_blob:
.. _
vmod_crypto.
verifier.update_blob:
BOOL xverifier.update_blob(BLOB)
BOOL xverifier.update_blob(BLOB)
--------------------------------
--------------------------------
Add a blob to the data to be verified with the verifier object.
Add a blob to the data to be verified with the verifier object.
.. _
func_
verifier.reset:
.. _
vmod_crypto.
verifier.reset:
BOOL xverifier.reset()
BOOL xverifier.reset()
----------------------
----------------------
...
@@ -101,7 +102,7 @@ BOOL xverifier.reset()
...
@@ -101,7 +102,7 @@ BOOL xverifier.reset()
Reset the verfication state as if previous calls to the update methods
Reset the verfication state as if previous calls to the update methods
had not happened.
had not happened.
.. _
func_
verifier.valid:
.. _
vmod_crypto.
verifier.valid:
BOOL xverifier.valid(BLOB signature)
BOOL xverifier.valid(BLOB signature)
------------------------------------
------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment