AsymmetricAlgorithm
Represents an asymmetric cryptographic algorithm. Asymmetric algorithms use different keys for encryption and decryption, typically a public key for encryption and a private key for decryption.
Extends
BaseCryptoClass
Properties
AUTHENTICATED_DH
readonly
static
AUTHENTICATED_DH:"AuthenticatedDh"
='AuthenticatedDh'
Constant representing the algorithm used by the Authenticated Diffie-Hellman key exchange protocol.
ECDH
readonly
static
ECDH:"Ecdh"
="Ecdh"
Constant representing the algorithm used by the ECDH (Elliptic Curve Diffie-Hellman) key agreement protocol.
ECDSA
readonly
static
ECDSA:"Ecdsa"
='Ecdsa'
Constant representing the ECDSA (Elliptic Curve Digital Signature Algorithm). ECDSA is a widely used algorithm for digital signatures based on elliptic curve cryptography.
RSA
readonly
static
RSA:"Rsa"
='Rsa'
Constant representing the RSA algorithm. RSA is widely used for secure data transmission and digital signatures.
RSA_OAEP
readonly
static
RSA_OAEP:"Rsa-oaep"
='Rsa-oaep'
Constant representing the RSA algorithm with OAEP padding. OAEP (Optimal Asymmetric Encryption Padding) is a widely used padding scheme for RSA encryption that provides better security against certain types of attacks.
Accessors
name
Get Signature
get name():
string
Get the name of the asymmetric algorithm.
Returns
string
The name of the algorithm.
Last updated: Sep 30, 2025