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