gose/jose/algorithm

Deprecated: use the gose/jose module instead.

This module re-exports the JOSE algorithm string-conversion functions from gose/jose for the v2.x migration window. It will be removed in v3.0. New code should import gose/jose directly.

Values

pub fn content_alg_from_string(
  alg: String,
) -> Result(gose.ContentAlg, gose.GoseError)

Deprecated: use gose/jose.content_alg_from_string

pub fn content_alg_to_string(alg: gose.ContentAlg) -> String

Deprecated: use gose/jose.content_alg_to_string

pub fn key_encryption_alg_from_string(
  alg: String,
) -> Result(gose.KeyEncryptionAlg, gose.GoseError)

Deprecated: use gose/jose.key_encryption_alg_from_string

pub fn key_encryption_alg_to_string(
  alg: gose.KeyEncryptionAlg,
) -> String

Deprecated: use gose/jose.key_encryption_alg_to_string

pub fn signing_alg_from_string(
  alg: String,
) -> Result(gose.SigningAlg, gose.GoseError)

Deprecated: use gose/jose.signing_alg_from_string

pub fn signing_alg_to_string(alg: gose.SigningAlg) -> String

Deprecated: use gose/jose.signing_alg_to_string

Search Document