Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Cryptela™ > Functions
list/1
Description
list/1 is an Erlang function exported by "cryptela" module.
This function lists all certificates from a storage. You could use it in conjunction with get_info/4, for example.
References
•create/3
•get_info/4
Parameters
Name
Type
Storage
binary()
Certificates storage.
Result
Value or Type
[]
On success returns a list with all certificates from the Storage.
Code Sample
> Cert = cryptela:create("Test", []).
> cryptela:list(Cert).
[
{name,"Test"}
]