jose_jwk_kty_ec (JOSE v1.11.12)

View Source

Summary

Types

key/0

-type key() ::
          #'ECPrivateKey'{version :: term(),
                          privateKey :: term(),
                          parameters :: term(),
                          publicKey :: term(),
                          attributes :: term()} |
          {#'ECPoint'{point :: term()},
           {namedCurve, Oid :: tuple()} |
           #'ECParameters'{version :: term(),
                           fieldID :: term(),
                           curve :: term(),
                           base :: term(),
                           order :: term(),
                           cofactor :: term()}}.

Functions

block_encryptor(KTY, Fields)

derive_key(_, ECPrivateKey)

from_der(DERBinary)

from_der(Password, PEMBinary)

from_key(ECPrivateKey)

from_map(F)

from_pem(PEMBinary)

from_pem(Password, PEMBinary)

generate_key(P)

generate_key(KTY, Fields)

key_encryptor(KTY, Fields, Key)

sign(Message, JWSALG, ECPrivateKey)

signer(_, Fields)

to_der(ECPrivateKey)

to_der(Password, ECPrivateKey)

to_key(ECPrivateKey)

to_map(ECPrivateKey0, Fields)

to_pem(ECPrivateKey)

to_pem(Password, ECPrivateKey)

to_public_map(K, F)

to_thumbprint_map(K, F)

verifier(KTY, Fields)

verify(Message, JWSALG, Signature, ECPublicKey)