You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
feature/update-crowdin-translations
feature/repo-deprecation
closed_groups
dev
fix/empty-conversations
fix/conversation-deletion-issues
fix/control-messages-deleted
release/1.20.2
release/1.20.1
release/1.20.0
feature/strings-fixes
fix/emoji-reactions
SES360-time-date-formats
fix/emoji-reactions-crash
feature/debug-menu
release/1.19.2
SES-2624-android-api-28-save-crash-workaround
feature/icons-fix
feature/update-username-config
fix/proper-message-request-icon
feature/test-tag-poc
fix/replace-mlkit-with-zxing
feature/avatar-file-access
fix/ip2Country-out-of-memory
fix/path-animation
fix/fixing-tests-pointing-to-deleted-files
feature/convo-capitalised
feature/resource-cleanup
feature/removed-unneeded-api-checks
fix/username-saved
feature/clean-ups
feature/service-clean-up
feature/adding-back-fullscreen-intent-permission
feature/snode-version
fix/webrtc_call_service_when
fix/video-call-rotation-and-avatars
feature/new-translate-url
feature/compose-cleanup
pr/1127
remove-config-cheks
pr/1451-ime-issues
pr/1451-ui-tweaks
pr/1451-theming
pr/1451-buttons
revert-1328-fix-unknown-push-json
1.18.2
1.16.9
1.16.8
v5.2.3
v5.2.2
v5.2.1
v5.2.0
v5.1.9
v5.1.8
v5.1.7
v5.0.10
v5.1.6
v5.1.5
v5.1.4
v5.1.3
v5.1.2
v5.0.9
v5.1.1
v5.1.0
v5.0.8
v5.0.7
v5.0.6
v5.0.5
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0
v4.79.3
v4.79.2
v4.79.1
v4.79.0
v4.78.5
v4.78.4
v4.78.3
v4.78.2
v4.78.1
v4.78.0
v4.77.3
v4.77.2
v4.77.1
v4.77.0
v4.76.3
v4.76.2
v4.76.1
v4.76.0
v4.75.8
v4.75.7
v4.75.6
v4.75.5
v4.75.4
v4.75.3
v4.75.2
v4.75.1
v4.75.0
v4.74.3
v4.74.2
v4.74.1
v4.74.0
v4.73.4
v4.73.3
v4.73.2
v4.73.1
v4.73.0
v4.72.6
v4.72.5
v4.72.4
v4.72.3
v4.72.2
v4.72.1
v4.72.0
v4.71.5
v4.71.4
v4.71.3
v4.71.2
v4.71.1
v4.71.0
v4.70.5
v4.70.4
v4.70.3
v4.70.2
v4.70.1
v4.70.0
v4.69.6
v4.69.5
v4.69.4
v4.69.3
v4.69.2
v4.69.1
v4.69.0
v4.68.8
v4.68.7
v4.68.6
v4.68.5
v4.68.4
v4.68.3
v4.68.2
v4.68.1
v4.68.0
v4.67.3
v4.67.2
v4.67.1
v4.67.0
v4.66.8
v4.66.7
v4.66.6
v4.66.5
v4.66.3
v4.66.2
v4.66.1
v4.66.0
v4.65.2
v4.65.1
v4.65.0
v4.64.7
v4.64.6
v4.64.5
v4.64.4
v4.64.3
v4.64.2
v4.64.1
v4.64.0
v4.63.3
v4.63.2
v4.63.1
v4.63.0
v4.62.4
v4.62.3
v4.62.2
v4.62.1
v4.62.0
v4.61.6
v4.61.5
v4.61.4
v4.61.3
v4.61.2
v4.61.1
v4.61.0
v4.60.9
v4.60.8
v4.60.7
v4.60.6
v4.60.5
v4.59.11
v4.60.4
v4.60.3
v4.60.2
v4.60.1
v4.60.0
v4.59.10
v4.59.9
v4.59.8
v4.59.7
v4.59.6
v4.59.5
v4.59.4
v4.59.3
v4.59.2
v4.59.1
v4.59.0
v4.58.5
v4.58.4
v4.58.3
v4.58.2
v4.58.1
v4.58.0
v4.57.2
v4.57.1
v4.57.0
v4.56.4
v4.56.3
v4.56.2
v4.56.1
v4.56.0
v4.55.8
v4.55.7
v4.55.6
v4.55.5
v4.55.4
v4.55.3
v4.55.2
v4.55.1
v4.55.0
v4.54.3
v4.54.2
v4.54.1
v4.54.0
v4.53.7
v4.53.6
v4.53.5
v4.53.4
v4.53.3
v4.53.2
v4.53.1
v4.53.0
v4.52.4
v4.52.3
v4.52.2
v4.52.1
v4.52.0
v4.51.6
v4.51.5
v4.51.4
v4.51.3
v4.51.2-corrected
v4.51.1
v4.51.2
v4.51.0
v4.50.6
v4.50.5
v4.50.4
v4.50.3
v4.50.1
v4.50.2
v.4.50.1
v4.50.0
v4.49.18
v4.49.17
v4.49.16
v4.49.15
v4.49.14
v4.49.13
v4.49.12
v4.49.11
v4.49.10
v4.49.9
v4.49.8
v4.49.7
v4.49.6
v4.49.5
v4.49.4
v4.49.3
v4.49.2
v4.49.1
v4.49.0
v4.48.17
v4.48.16
v4.48.15
v4.48.14
v4.48.13
v4.48.12
v4.48.11
v4.48.10
v4.48.9
v4.48.8
v4.48.7
v4.47.7
v4.48.6
v4.48.5
v4.48.4
v4.48.3
v4.48.2
v4.48.1
v4.48.0
v4.47.6
v4.47.5
v4.47.4
v4.47.3
v4.47.2
v4.47.1
v4.47.0
v4.46.2
v4.46.1
v4.46.0
v4.45.2
v4.45.1
v4.45.0
v4.44.7
v4.44.6
v4.44.5
v4.44.4
v4.44.3
v4.44.2
v4.44.1
v4.44.0
v4.43.8
v4.43.7
v4.43.6
v4.43.5
v4.43.4
v4.43.3
v4.43.2
v4.43.1
v4.43.0
v4.42.3
v4.42.2
v4.42.1
v4.42.0
v4.41.6
v4.41.5
v4.41.4
v4.41.3
v4.41.2
v4.41.1
v4.41.0
v4.40.4
v4.40.3
v4.40.2
v4.40.1
v4.40.0
v4.39.4
v4.39.3
v4.39.2
v4.39.1
v4.39.0
v4.38.3
v4.38.2
v4.38.1
v4.38.0
v4.37.2
v4.37.1
v4.37.0
v4.36.2
v4.36.1
v4.36.0
v4.35.3
v4.35.2
v4.35.1
v4.35.0
v4.34.8
v4.34.7
v4.34.6
v4.34.5
v4.34.4
v4.34.3
v4.34.2
v4.34.1
v4.34.0
v4.33.5
v4.33.4
v4.33.3
v4.33.2
v4.33.1
v4.33.0
v4.32.8
v4.32.7
v4.32.6
v4.32.5
v4.32.4
v4.32.3
v4.32.2
v4.32.1
v4.32.0
v4.31.8
v4.31.7
v4.31.6
v4.31.5
v4.31.4
v4.31.3
v4.31.2
v4.31.1
v4.30.8
v4.31.0
v4.30.7
v4.30.6
v4.30.5
v4.30.4
v4.30.3
v4.30.2
v4.30.1
v4.30.0
v4.29.7
v4.29.6
v4.29.5
v4.29.4
v4.29.3
v4.29.2
v4.29.1
v4.29.0
v4.28.1
v4.28.0
v4.27.3
v4.27.2
v4.27.1
v4.27.0
v4.26.2
v4.26.1
v4.26.0
v4.25.10
v4.25.9
v4.25.8
v4.25.7
v4.25.6
v4.25.5
v4.25.4
v4.25.3
v4.25.2
v4.25.1
v4.25.0
v4.24.8
v4.24.7
v4.24.6
v4.24.5
v4.24.4
v4.24.3
v4.24.2
v4.24.1
v4.24.0
v4.23.4
v4.23.3
v4.23.2
v4.23.1
v4.23.0
v4.22.4
v4.22.3
v4.22.2
v4.22.1
v4.22.0
v4.21.6
v4.21.5
v4.21.4
v4.21.3
v4.21.2
v4.21.1
v4.21.0
v4.20.9
v4.20.8
v4.20.7
v4.20.6
v4.20.5
v4.20.4
v4.20.3
v4.20.2
v4.19.3
v4.19.2
v4.19.1
v4.18.3
v4.18.2
v4.18.1
v4.18.0
v4.17.5
v4.17.4
v4.17.3
v4.17.2
v4.17.1
v4.17.0
v4.16.9
v4.16.7
v4.16.6
v4.16.4
v4.16.3
v4.15.5
v4.15.3
v4.15.2
v4.15.1
v4.15.0
v4.14.10
v4.14.9
v4.14.8
v4.14.7
v4.14.6
v4.14.5
v4.14.4
v4.13.3
v4.14.2
v4.14.1
v4.14.0
v4.13.7
v4.13.6
v4.13.5
v4.13.4
v4.13.2
v4.13.1
v4.13.0
v4.12.3
v4.12.1
v4.11.5
v4.12.0
v4.11.3
v4.11.2
v4.11.1
v4.10.12
v4.10.11
v4.10.10
v4.10.9
v4.10.8
v4.10.7
v4.10.6
v4.10.5
v4.10.2
v4.10.1
v4.9.9
v4.9.8
v4.9.6
v4.9.5
v4.9.4
v4.9.3
v4.9.2
v4.9.1
v4.9.0
v4.8.1
v4.8.0
v4.7.4
v4.7.3
v4.7.2
v4.7.1
v4.7.0
v4.6.0
v4.5.3
v4.5.2
v4.5.0
v4.4.0
v4.3.2
v4.3.1
v4.3.0
v4.2.5
v4.2.4
v4.2.3
v4.2.2
v4.2.1
v4.2.0
v4.1.0
v4.0.1
v4.0.0
v3.31.4
v3.31.2
v3.31.1
v3.31.0
v3.30.4
v3.30.3
v3.30.2
v3.30.1
v3.30.0
v3.29.6
v3.29.5
v3.29.4
v3.29.2
v3.28.4
v3.28.3
v3.28.2
v3.28.1
v3.28.0
v3.27.1
v3.27.0
v3.26.2
v3.26.1
v3.26.0
v3.25.4
v3.25.3
v3.25.2
v3.25.1
v3.25.0
v3.24.1
v3.24.0
v3.23.0
v3.22.2
v3.22.1
v3.22.0
v3.21.3
v3.21.2
v3.21.1
v3.21.0
v3.20.4
v3.20.3
v3.20.2
v3.20.1
v3.19.0
v3.18.3
v3.18.2
v3.18.1
v3.18.0
v3.17.0
v3.16.1
v3.16.0
v3.15.2
v3.15.1
v3.15.0
v3.14.2
v3.14.1
v3.14.0
v3.13.1
v3.13.0
v3.12.0
v1.8.6
v3.11.1
v3.11.0
v1.8.4
v3.10.0
v3.9.1
v3.9.0
v3.8.0
v3.7.2
v3.7.1
v3.7.0
v3.6.1
v3.6.0
v3.5.2
v3.5.1
v3.5.0
v3.4.2
v3.4.0
v3.3.3
v3.3.2
v1.8.2
v3.3.1
v3.3.0
v3.1.1
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v1.8.1
v2.28.1
v2.28.0
v2.27.2
v2.27.1
v1.8.0
v1.7.2
v2.27.0
v2.26.5
v2.26.3
v2.26.2
v2.26.0
v2.25.3
v2.25.1
v2.25.0
v2.24.1
v1.6.2
v2.24.0
v2.23.3
v2.23.2
v2.32.2
v2.23.1
v2.23.0
v2.22.2
v2.22.1
v2.22.0
v2.21.0
v1.6.1
v2.19.1
v2.19.0
v2.18.2
v2.18.1
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v1.5.0
v2.16.2
v2.16.1
v2.16.0
v1.4.0
v2.14.5
v2.14.4
v2.14.3
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12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.2
1.18.6
1.18.5
1.18.4
1.18.3
1.18.1
1.17.6
1.17.5
1.17.4
1.17.3
1.17.2
1.17.1
1.17.0
1.16.7
1.16.5
1.16.4
1.16.3
1.16.1
1.16.0
1.15.4
1.15.3
1.15.2
1.15.1
1.14.1
1.14.0
1.13.7
1.13.6
1.13.5
1.13.4
1.13.1
1.13.0
1.12.5
1.12.4
1.12.3
1.12.2
1.12.15
1.12.1
1.12.0
1.11.9
1.11.8
1.11.7
1.11.6
1.11.5
1.11.4
1.11.3
1.11.20
1.11.2
1.11.19
1.11.17
1.11.16
1.11.15
1.11.14
1.11.13
1.11.12
1.11.11
1.11.10
1.11.1
1.11.0
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.13
1.10.12
1.10.11
1.10.10
1.10.1
1.10.0
1.1.0-alpha.3
1.1.0-alpha.2
1.1.0-alpha.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.11
1.0.10
1.0.1
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0
${ noResults }
Merge in RedPhone // FREEBIE |
10 years ago | |
|---|---|---|
| .. | ||
| README |
…
|
|
| store.h |
…
|
|
| str_err.c |
…
|
|
| str_lib.c |
…
|
|
| str_locl.h |
…
|
|
| str_mem.c |
…
|
|
| str_meth.c |
…
|
|
README
The STORE type ============== A STORE, as defined in this code section, is really a rather simple thing which stores objects and per-object associations to a number of attributes. What attributes are supported entirely depends on the particular implementation of a STORE. It has some support for generation of certain objects (for example, keys and CRLs). Supported object types ---------------------- For now, the objects that are supported are the following: X.509 certificate X.509 CRL private key public key number arbitrary (application) data The intention is that a STORE should be able to store everything needed by an application that wants a cert/key store, as well as the data a CA might need to store (this includes the serial number counter, which explains the support for numbers). Supported attribute types ------------------------- For now, the following attributes are supported: Friendly Name - the value is a normal C string Key ID - the value is a 160 bit SHA1 hash Issuer Key ID - the value is a 160 bit SHA1 hash Subject Key ID - the value is a 160 bit SHA1 hash Issuer/Serial Hash - the value is a 160 bit SHA1 hash Issuer - the value is a X509_NAME Serial - the value is a BIGNUM Subject - the value is a X509_NAME Certificate Hash - the value is a 160 bit SHA1 hash Email - the value is a normal C string Filename - the value is a normal C string It is expected that these attributes should be enough to support the need from most, if not all, current applications. Applications that need to do certificate verification would typically use Subject Key ID, Issuer/Serial Hash or Subject to look up issuer certificates. S/MIME applications would typically use Email to look up recipient and signer certificates. There's added support for combined sets of attributes to search for, with the special OR attribute. Supported basic functionality ----------------------------- The functions that are supported through the STORE type are these: generate_object - for example to generate keys and CRLs get_object - to look up one object NOTE: this function is really rather redundant and probably of lesser usage than the list functions store_object - store an object and the attributes associated with it modify_object - modify the attributes associated with a specific object revoke_object - revoke an object NOTE: this only marks an object as invalid, it doesn't remove the object from the database delete_object - remove an object from the database list_object - list objects associated with a given set of attributes NOTE: this is really four functions: list_start, list_next, list_end and list_endp update_store - update the internal data of the store lock_store - lock the store unlock_store - unlock the store The list functions need some extra explanation: list_start is used to set up a lookup. That's where the attributes to use in the search are set up. It returns a search context. list_next returns the next object searched for. list_end closes the search. list_endp is used to check if we have reached the end. A few words on the store functions as well: update_store is typically used by a CA application to update the internal structure of a database. This may for example involve automatic removal of expired certificates. lock_store and unlock_store are used for locking a store to allow exclusive writes.