Skip to main content

JwsAlgorithm

@iota/identity-wasm API documentation


Enumeration: JwsAlgorithm

Supported algorithms for the JSON Web Signatures alg claim.

More Info

Enumeration Members​

HS256​

HS256: "HS256"

HMAC using SHA-256


HS384​

HS384: "HS384"

HMAC using SHA-384


HS512​

HS512: "HS512"

HMAC using SHA-512


RS256​

RS256: "RS256"

RSASSA-PKCS1-v1_5 using SHA-256


RS384​

RS384: "RS384"

RSASSA-PKCS1-v1_5 using SHA-384


RS512​

RS512: "RS512"

RSASSA-PKCS1-v1_5 using SHA-512


PS256​

PS256: "PS256"

RSASSA-PSS using SHA-256 and MGF1 with SHA-256


PS384​

PS384: "PS384"

RSASSA-PSS using SHA-384 and MGF1 with SHA-384


PS512​

PS512: "PS512"

RSASSA-PSS using SHA-512 and MGF1 with SHA-512


ES256​

ES256: "ES256"

ECDSA using P-256 and SHA-256


ES384​

ES384: "ES384"

ECDSA using P-384 and SHA-384


ES512​

ES512: "ES512"

ECDSA using P-521 and SHA-512


ES256K​

ES256K: "ES256K"

ECDSA using secp256k1 curve and SHA-256


NONE​

NONE: "none"

No digital signature or MAC performed


EdDSA​

EdDSA: "EdDSA"

EdDSA signature algorithms