From a06d52906db423ab5f2bf6991b85f36f9401341c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 23 May 2017 11:05:13 +0000 Subject: Switch doc to schemeless URLs --- doc/libsbearssl/index.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'doc/libsbearssl') diff --git a/doc/libsbearssl/index.html b/doc/libsbearssl/index.html index 20cdb06..94733a2 100644 --- a/doc/libsbearssl/index.html +++ b/doc/libsbearssl/index.html @@ -6,14 +6,14 @@ s6-networking: the sbearssl library interface - +

s6-networking
-Software
-skarnet.org +Software
+skarnet.org

The sbearssl library interface

@@ -65,7 +65,7 @@ address this.

When reading an object into memory, sbearssl stores all the bytes of the object in a -stralloc, +stralloc, and the sbearssl_* structures contain indices of bytes in that stralloc. That allows the structures to remain valid even when the stralloc contents get reallocated and move to some other place in the heap. After @@ -235,10 +235,10 @@ will perform the PEM decoding for you.

Decodes a PEM object, reading from the -buffer +buffer in *b. The decoded bytes are appended to *sa. list points to a -genalloc +genalloc containing objects of type sbearssl_pemobject. One sbearssl_pemobject is appended to the genalloc per PEM entity decoded from the byte stream read from the buffer. @@ -258,7 +258,7 @@ obtained with the sbearssl_error_str() function. Decodes a PEM object from the len bytes pointed to by s. The decoded bytes are appended to *sa. list points to a -genalloc +genalloc containing objects of type sbearssl_pemobject. One sbearssl_pemobject is appended to the genalloc per PEM entity found in the bytes in s. @@ -295,7 +295,7 @@ The indices in l must refer to data stored in the string s.

Reads one or more certificates from the file named fn and appends -them to the genalloc +them to the genalloc in *list, which is a dynamically growing list of sbearssl_cert structures. The bytes of the (maybe PEM-decoded, but still DER-encoded) certificate are @@ -331,7 +331,7 @@ obtained with the sbearssl_error_str() function.

Reads one or more PEM-encoded certificates from the file named fn and appends them to the -genalloc +genalloc in *list, which is a dynamically growing list of sbearssl_cert structures. The bytes of the PEM-decoded (but still DER-encoded) certificates are appended to the stralloc @@ -384,11 +384,11 @@ The indices in l must refer to data stored in the string s. Reads a set of trust anchors from a PEM file named fn which must contain a list of (intermediate or) root CA certificates. The trust anchors are appended to the -genalloc +genalloc in *list, which is a dynamically growing list of sbearssl_ta structures. The contents of the trust anchors are appended to *sa, which is a -stralloc +stralloc used for storage.

@@ -407,11 +407,11 @@ obtained with the sbearssl_error_str() function. which must contain a list of (intermediate or) root CA certificates stored as individual DER- or PEM-encoded files. The trust anchors are appended to the -genalloc +genalloc in *list, which is a dynamically growing list of sbearssl_ta structures. The contents of the trust anchors are appended to *sa, which is a -stralloc +stralloc used for storage.

@@ -457,7 +457,7 @@ looks like a DER-encoded object. Returns 1 if it does and 0 otherwise.

Sets the validation time for the X.509 context in *ctx to the absolute time contained in *t, which is a -tai_t. +tai_t. Returns 1 if it succeeds, or 0 if it fails - probably because *t does not represent a valid time.

@@ -466,7 +466,7 @@ because *t does not represent a valid time.

Same as the above function, except the time is given as a -tain_t, +tain_t, i.e. a tai_t plus nanoseconds (which are simply ignored).

@@ -515,7 +515,7 @@ know in advance how many bytes it should get. Modern application protocols should all work with EOF.
  • tto is a pointer to a - tain_t + tain_t containing a relative time (i.e. a timeout) If *tto time elapses with no application data being exchanged, the engine will forcibly close the connection (with the method defined by options & 1). -- cgit v1.2.3