jose_jwk_kty_okp_ed25519 (JOSE v1.11.12)

View Source

Summary

Types

key/0

-type key() :: publickey() | secretkey().

publickey/0

-type publickey() :: <<_:256>>.

secretkey/0

-type secretkey() :: <<_:512>>.

Functions

from_der(DERBinary)

from_der(Password, DERBinary)

from_key(Jose_EdDSA25519PrivateKey)

from_map(F)

from_okp(_)

from_openssh_key(_)

from_pem(PEMBinary)

from_pem(Password, PEMBinary)

generate_key(Seed)

generate_key(KTY, Fields)

key_encryptor(KTY, Fields, Key)

sign(Message, ALG, SK)

signer(_, Fields)

to_der(SK)

to_der(Password, SK)

to_key(_)

to_map(PK, F)

to_okp(SK)

to_openssh_key(SK, F)

to_pem(SK)

to_pem(Password, SK)

to_public_map(PK, F)

to_thumbprint_map(K, F)

verifier(_, Fields)

verify(Message, ALG, Signature, PK)