EdAlgorithm
ECDH-ES and EdDSA algorithm provider
Implements
Constructors
new EdAlgorithm()
new EdAlgorithm():
EdAlgorithm
Returns
Methods
toAsnAlgorithm()
toAsnAlgorithm(
alg
):null
|AlgorithmIdentifier
Converts WebCrypto algorithm to ASN.1 algorithm
Parameters
• alg: EcKeyGenParams
WebCrypto algorithm
Returns
null
| AlgorithmIdentifier
ASN.1 algorithm or null
Implementation of
toWebAlgorithm()
toWebAlgorithm(
alg
):null
|Algorithm
|HashedAlgorithm
|EcKeyGenParams
Converts ASN.1 algorithm to WebCrypto algorithm
Parameters
• alg: AlgorithmIdentifier
ASN.1 algorithm
Returns
null
| Algorithm
| HashedAlgorithm
| EcKeyGenParams
WebCrypto algorithm or null