Liking cljdoc? Tell your friends :D

web.crypto.RsaHashedKeyGenParams

The RsaHashedKeyGenParams dictionary of the Web Crypto API represents object that should be passed as the algorithm parameter into when generating any RSA-based key pair: that is, when the algorithm identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP.

The RsaHashedKeyGenParams dictionary of the Web Crypto API represents
object that should be passed as the algorithm parameter into
when generating any RSA-based key pair: that is, when the algorithm
identified as any of RSASSA-PKCS1-v1_5, RSA-PSS, or RSA-OAEP.
raw docstring

hashcljs

(hash this)

Property.

A DOMString representing the name of the digest function to You can pass any of SHA-256, SHA-384, or SHA-512 here. Warning: Although you can technically pass SHA-1 as a value this is strongly discouraged as SHA-1 is considered vulnerable.

Property.

A DOMString representing the name of the digest function to
You can pass any of SHA-256, SHA-384, or SHA-512 here.
Warning: Although you can technically pass SHA-1 as a value
this is strongly discouraged as SHA-1 is considered vulnerable.
sourceraw docstring

modulus-lengthcljs

(modulus-length this)

Property.

A Number. The length in bits of the RSA modulus. This should at least 2048: see for example see NIST SP 800-131A Rev. 1. Some are now recommending that it should be 4096.

Property.

A Number. The length in bits of the RSA modulus. This should
at least 2048: see for example see NIST SP 800-131A Rev. 1. Some
are now recommending that it should be 4096.
sourceraw docstring

namecljs

(name this)

Property.

A DOMString. This should be set to RSASSA-PKCS1-v1_5, RSA-PSS, RSA-OAEP, depending on the algorithm you want to use.

Property.

A DOMString. This should be set to RSASSA-PKCS1-v1_5, RSA-PSS,
RSA-OAEP, depending on the algorithm you want to use.
sourceraw docstring

public-exponentcljs

(public-exponent this)

Property.

A Uint8Array. The public exponent. Unless you have a good reason use something else, specify 65537 here ([0x01, 0x00, 0x01]).

Property.

A Uint8Array. The public exponent. Unless you have a good reason
use something else, specify 65537 here ([0x01, 0x00, 0x01]).
sourceraw docstring

set-hash!cljs

(set-hash! this val)

Property.

A DOMString representing the name of the digest function to You can pass any of SHA-256, SHA-384, or SHA-512 here. Warning: Although you can technically pass SHA-1 as a value this is strongly discouraged as SHA-1 is considered vulnerable.

Property.

A DOMString representing the name of the digest function to
You can pass any of SHA-256, SHA-384, or SHA-512 here.
Warning: Although you can technically pass SHA-1 as a value
this is strongly discouraged as SHA-1 is considered vulnerable.
sourceraw docstring

set-modulus-length!cljs

(set-modulus-length! this val)

Property.

A Number. The length in bits of the RSA modulus. This should at least 2048: see for example see NIST SP 800-131A Rev. 1. Some are now recommending that it should be 4096.

Property.

A Number. The length in bits of the RSA modulus. This should
at least 2048: see for example see NIST SP 800-131A Rev. 1. Some
are now recommending that it should be 4096.
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

A DOMString. This should be set to RSASSA-PKCS1-v1_5, RSA-PSS, RSA-OAEP, depending on the algorithm you want to use.

Property.

A DOMString. This should be set to RSASSA-PKCS1-v1_5, RSA-PSS,
RSA-OAEP, depending on the algorithm you want to use.
sourceraw docstring

set-public-exponent!cljs

(set-public-exponent! this val)

Property.

A Uint8Array. The public exponent. Unless you have a good reason use something else, specify 65537 here ([0x01, 0x00, 0x01]).

Property.

A Uint8Array. The public exponent. Unless you have a good reason
use something else, specify 65537 here ([0x01, 0x00, 0x01]).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close