View Source jose_jwk_use_enc behaviour (JOSE v1.11.10)

Summary

Callbacks

-callback block_encryptor(KTY, Fields) -> JWEMap when KTY :: any(), Fields :: map(), JWEMap :: map().
Link to this callback

decrypt_private/3

View Source (optional)
-callback decrypt_private(CipherText, Options, KTY) -> PlainText
                   when
                       CipherText :: iodata(),
                       Options :: any(),
                       KTY :: any(),
                       PlainText :: iodata().
-callback derive_key(KTY) -> DerivedKey when KTY :: any(), DerivedKey :: iodata().
-callback derive_key(OtherKTY, KTY) -> DerivedKey
              when OtherKTY :: any(), KTY :: any(), DerivedKey :: iodata().
Link to this callback

encrypt_public/3

View Source (optional)
-callback encrypt_public(PlainText, Options, KTY) -> CipherText
                  when
                      PlainText :: iodata(),
                      Options :: any(),
                      KTY :: any(),
                      CipherText :: iodata().