View Source jose_jwk behaviour (JOSE v1.11.10)
Summary
Functions
Generates an ephemeral private key based on receiver public key curve.
    Generates an ephemeral private key based on receiver public key curve.
    Generates an ephemeral private key based on receiver public key curve.
    Generates a new static secret key based on receiver public key curve.
    Types
-type key() :: #jose_jwk{}.
      Callbacks
-callback from_map(Fields) -> KTY when Fields :: map(), KTY :: any().
      -callback to_key(KTY) -> Key when KTY :: any(), Key :: any().
      -callback to_map(KTY, Fields) -> Map when KTY :: any(), Fields :: map(), Map :: map().
      -callback to_public_map(KTY, Fields) -> Map when KTY :: any(), Fields :: map(), Map :: map().
      -callback to_thumbprint_map(KTY, Fields) -> Map when KTY :: any(), Fields :: map(), Map :: map().
      Functions
    
      
      Link to this function
    
    
  box_decrypt_ecdh_1pu(Encrypted, UStaticPublicKey, VStaticSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt(PlainText, JWE, VStaticPublicKey, UEphemeralSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_1pu(PlainText, VStaticPublicKey, UStaticSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_1pu(PlainText, VStaticPublicKey, UStaticSecretKey, UEphemeralSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_1pu(PlainText, JWE, VStaticPublicKey, UStaticSecretKey, UEphemeralSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_es(PlainText, VStaticPublicKey, UEphemeralSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_es(PlainText, JWE, VStaticPublicKey, UEphemeralSecretKey)
View Source
    
      
      Link to this function
    
    
  box_encrypt_ecdh_ss(PlainText, VStaticPublicKey0, UStaticSecretKey0)
View Source
    
      
      Link to this function