web_authn_lite v0.4.0 WebAuthnLite.CredentialPublicKey
Functions for handling CredentialPublicKey
https://www.w3.org/TR/webauthn/#credential-public-key
Link to this section Summary
Link to this section Functions
Link to this function
from_cbor_map(cbor_map)
from_cbor_map(cbor_map :: map()) :: WebAuthnLite.CredentialPublicKey.RS256.t() | WebAuthnLite.CredentialPublicKey.ES256.t() | {:error, :invalid_credential_public_key}
Link to this function
from_json(json_encoded_key_map)
from_json(json_encoded_key_map :: String.t()) :: WebAuthnLite.CredentialPublicKey.RS256.t() | WebAuthnLite.CredentialPublicKey.ES256.t() | {:error, :invalid_credential_public_key}
Link to this function
from_key_map(key_map)
from_key_map(key_map :: map()) :: WebAuthnLite.CredentialPublicKey.RS256.t() | WebAuthnLite.CredentialPublicKey.ES256.t() | {:error, :invalid_credential_public_key}