RsaAlgorithm
RSA algorithm provider
Implements
Constructors
new RsaAlgorithm()
new RsaAlgorithm():
RsaAlgorithm
Returns
Methods
toAsnAlgorithm()
toAsnAlgorithm(
alg
):null
|AlgorithmIdentifier
Converts WebCrypto algorithm to ASN.1 algorithm
Parameters
• alg: Algorithm
WebCrypto algorithm
Returns
null
| AlgorithmIdentifier
ASN.1 algorithm or null
Implementation of
toWebAlgorithm()
toWebAlgorithm(
alg
):null
|Algorithm
|HashedAlgorithm
Converts ASN.1 algorithm to WebCrypto algorithm
Parameters
• alg: AlgorithmIdentifier
ASN.1 algorithm
Returns
null
| Algorithm
| HashedAlgorithm
WebCrypto algorithm or null
Implementation of
createPssParams()
static
createPssParams(hash
,saltLength
):null
|RsaSaPssParams
Parameters
• hash: unknown
• saltLength: number
Returns
null
| RsaSaPssParams
getHashAlgorithm()
static
getHashAlgorithm(alg
):null
|AlgorithmIdentifier
Parameters
• alg: unknown
Returns
null
| AlgorithmIdentifier