Skip to content
Snippets Groups Projects
Commit 4c16472e authored by deuce's avatar deuce
Browse files

Document CryptKeyset

parent 2753f766
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,7 @@ function document_properties(name, obj) ...@@ -185,6 +185,7 @@ function document_properties(name, obj)
prop_name=name + "." + prop; prop_name=name + "." + prop;
log(LOG_ERR, "Prop: "+prop);
if(typeof(obj[prop])=="object" if(typeof(obj[prop])=="object"
&& prop!="socket" && prop!="socket"
&& prop!="global" && prop!="global"
...@@ -325,6 +326,10 @@ if(js.global.CryptContext != undefined) { ...@@ -325,6 +326,10 @@ if(js.global.CryptContext != undefined) {
var cc = new CryptContext(CryptContext.ALGO.AES); var cc = new CryptContext(CryptContext.ALGO.AES);
if(cc != undefined) document_object("CryptContext",cc, "class"); if(cc != undefined) document_object("CryptContext",cc, "class");
} }
if(js.global.CryptKeyset != undefined) {
var cks = new CryptKeyset("/tmp/tmpkeyset", CryptKeyset.KEYOPT.CREATE);
if(cks != undefined) document_object("CryptKeyset",cks, "class");
}
if(js.global.conio != undefined) { if(js.global.conio != undefined) {
document_object("conio",js.global.conio); document_object("conio",js.global.conio);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment