
net.java.html.lib.node.crypto.Exports Maven / Gradle / Ivy
The newest version!
package net.java.html.lib.node.crypto;
@java.lang.SuppressWarnings("unchecked")
public final class Exports extends net.java.html.lib.Objs {
private Exports() {
}
private static net.java.html.lib.Objs selfModule() {
return net.java.html.lib.Modules.find("crypto");
}
public static net.java.html.lib.node.crypto.Cipher createCipher(java.lang.String algorithm, java.lang.Object password) {
return (net.java.html.lib.node.crypto.Cipher)net.java.html.lib.node.crypto.Cipher.$as($Typings$.createCipher$1($js(selfModule()), algorithm, /* AnyKeyword*/$js(password)));
}
public static net.java.html.lib.node.crypto.Cipher createCipheriv(java.lang.String algorithm, java.lang.Object key, java.lang.Object iv) {
return (net.java.html.lib.node.crypto.Cipher)net.java.html.lib.node.crypto.Cipher.$as($Typings$.createCipheriv$2($js(selfModule()), algorithm, /* AnyKeyword*/$js(key), /* AnyKeyword*/$js(iv)));
}
public static net.java.html.lib.node.crypto.Credentials createCredentials(net.java.html.lib.node.crypto.CredentialDetails details) {
return (net.java.html.lib.node.crypto.Credentials)net.java.html.lib.node.crypto.Credentials.$as($Typings$.createCredentials$3($js(selfModule()), /* FirstTypeNode*/$js(details)));
}
public static net.java.html.lib.node.crypto.Decipher createDecipher(java.lang.String algorithm, java.lang.Object password) {
return (net.java.html.lib.node.crypto.Decipher)net.java.html.lib.node.crypto.Decipher.$as($Typings$.createDecipher$4($js(selfModule()), algorithm, /* AnyKeyword*/$js(password)));
}
public static net.java.html.lib.node.crypto.Decipher createDecipheriv(java.lang.String algorithm, java.lang.Object key, java.lang.Object iv) {
return (net.java.html.lib.node.crypto.Decipher)net.java.html.lib.node.crypto.Decipher.$as($Typings$.createDecipheriv$5($js(selfModule()), algorithm, /* AnyKeyword*/$js(key), /* AnyKeyword*/$js(iv)));
}
public static net.java.html.lib.node.crypto.DiffieHellman createDiffieHellman(double prime_length) {
return (net.java.html.lib.node.crypto.DiffieHellman)net.java.html.lib.node.crypto.DiffieHellman.$as($Typings$.createDiffieHellman$6($js(selfModule()), prime_length));
}
public static net.java.html.lib.node.crypto.DiffieHellman createDiffieHellman(double prime, java.lang.String encoding) {
return (net.java.html.lib.node.crypto.DiffieHellman)net.java.html.lib.node.crypto.DiffieHellman.$as($Typings$.createDiffieHellman$7($js(selfModule()), prime, encoding));
}
// skipping MethodKey{name={"kind":"Identifier","text":"createDiffieHellman","right":[]}, parameters=[double]}
public static net.java.html.lib.node.crypto.Hash createHash(java.lang.String algorithm) {
return (net.java.html.lib.node.crypto.Hash)net.java.html.lib.node.crypto.Hash.$as($Typings$.createHash$9($js(selfModule()), algorithm));
}
public static net.java.html.lib.node.crypto.Hmac createHmac(java.lang.String algorithm, java.lang.String key) {
return (net.java.html.lib.node.crypto.Hmac)net.java.html.lib.node.crypto.Hmac.$as($Typings$.createHmac$10($js(selfModule()), algorithm, key));
}
public static net.java.html.lib.node.crypto.Hmac createHmac(java.lang.String algorithm, net.java.html.lib.node.Buffer key) {
return (net.java.html.lib.node.crypto.Hmac)net.java.html.lib.node.crypto.Hmac.$as($Typings$.createHmac$11($js(selfModule()), algorithm, /* FirstTypeNode*/$js(key)));
}
public static net.java.html.lib.node.crypto.Signer createSign(java.lang.String algorithm) {
return (net.java.html.lib.node.crypto.Signer)net.java.html.lib.node.crypto.Signer.$as($Typings$.createSign$12($js(selfModule()), algorithm));
}
public static net.java.html.lib.node.crypto.Verify createVerify(java.lang.String algorith) {
return (net.java.html.lib.node.crypto.Verify)net.java.html.lib.node.crypto.Verify.$as($Typings$.createVerify$13($js(selfModule()), algorith));
}
public static net.java.html.lib.node.crypto.DiffieHellman getDiffieHellman(java.lang.String group_name) {
return (net.java.html.lib.node.crypto.DiffieHellman)net.java.html.lib.node.crypto.DiffieHellman.$as($Typings$.getDiffieHellman$14($js(selfModule()), group_name));
}
public static void pbkdf2(java.lang.String password, java.lang.String salt, double iterations, double keylen, java.lang.String digest, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$15($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(net.java.html.lib.node.Buffer password, java.lang.String salt, double iterations, double keylen, java.lang.String digest, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$15($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(java.lang.String password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, java.lang.String digest, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$15($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(net.java.html.lib.node.Buffer password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, java.lang.String digest, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$15($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(java.lang.String password, java.lang.String salt, double iterations, double keylen, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$16($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(net.java.html.lib.node.Buffer password, java.lang.String salt, double iterations, double keylen, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$16($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(java.lang.String password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$16($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static void pbkdf2(net.java.html.lib.node.Buffer password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Object> callback) {
$Typings$.pbkdf2$16($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(java.lang.String password, java.lang.String salt, double iterations, double keylen) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$17($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(net.java.html.lib.node.Buffer password, java.lang.String salt, double iterations, double keylen) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$17($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(java.lang.String password, net.java.html.lib.node.Buffer salt, double iterations, double keylen) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$17($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(net.java.html.lib.node.Buffer password, net.java.html.lib.node.Buffer salt, double iterations, double keylen) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$17($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(java.lang.String password, java.lang.String salt, double iterations, double keylen, java.lang.String digest) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$18($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(net.java.html.lib.node.Buffer password, java.lang.String salt, double iterations, double keylen, java.lang.String digest) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$18($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(java.lang.String password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, java.lang.String digest) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$18($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest));
}
public static net.java.html.lib.node.Buffer pbkdf2Sync(net.java.html.lib.node.Buffer password, net.java.html.lib.node.Buffer salt, double iterations, double keylen, java.lang.String digest) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pbkdf2Sync$18($js(selfModule()), /* UnionType*/$js(password), /* UnionType*/$js(salt), iterations, keylen, digest));
}
public static net.java.html.lib.node.Buffer privateDecrypt(java.lang.String private_key, net.java.html.lib.node.Buffer buffer) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.privateDecrypt$19($js(selfModule()), /* UnionType*/$js(private_key), /* FirstTypeNode*/$js(buffer)));
}
public static net.java.html.lib.node.Buffer privateDecrypt(net.java.html.lib.node.crypto.RsaPrivateKey private_key, net.java.html.lib.node.Buffer buffer) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.privateDecrypt$19($js(selfModule()), /* UnionType*/$js(private_key), /* FirstTypeNode*/$js(buffer)));
}
public static net.java.html.lib.node.Buffer pseudoRandomBytes(double size) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.pseudoRandomBytes$20($js(selfModule()), size));
}
public static void pseudoRandomBytes(double size, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Void> callback) {
$Typings$.pseudoRandomBytes$21($js(selfModule()), size, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
public static net.java.html.lib.node.Buffer publicEncrypt(java.lang.String public_key, net.java.html.lib.node.Buffer buffer) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.publicEncrypt$22($js(selfModule()), /* UnionType*/$js(public_key), /* FirstTypeNode*/$js(buffer)));
}
public static net.java.html.lib.node.Buffer publicEncrypt(net.java.html.lib.node.crypto.RsaPublicKey public_key, net.java.html.lib.node.Buffer buffer) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.publicEncrypt$22($js(selfModule()), /* UnionType*/$js(public_key), /* FirstTypeNode*/$js(buffer)));
}
public static net.java.html.lib.node.Buffer randomBytes(double size) {
return (net.java.html.lib.node.Buffer)net.java.html.lib.node.Buffer.$as($Typings$.randomBytes$23($js(selfModule()), size));
}
public static void randomBytes(double size, net.java.html.lib.Function.A2 super net.java.html.lib.Error,? super net.java.html.lib.node.Buffer,? extends java.lang.Void> callback) {
$Typings$.randomBytes$24($js(selfModule()), size, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.Error.class, net.java.html.lib.node.Buffer.class})));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy