Module: JOSE::JWA::XChaCha20Poly1305_Unsupported
- Extended by:
- XChaCha20Poly1305_Unsupported
- Included in:
- XChaCha20Poly1305_Unsupported
- Defined in:
- lib/jose/jwa/xchacha20poly1305_unsupported.rb
Instance Method Summary collapse
- #__ruby__? ⇒ Boolean
- #__supported__? ⇒ Boolean
- #xchacha20poly1305_aead_decrypt(key, nonce, aad, ciphertext, tag) ⇒ Object
- #xchacha20poly1305_aead_encrypt(key, nonce, aad, plaintext) ⇒ Object
Instance Method Details
#__ruby__? ⇒ Boolean
5 |
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 5 def __ruby__?; true; end |
#__supported__? ⇒ Boolean
6 |
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 6 def __supported__?; false; end |
#xchacha20poly1305_aead_decrypt(key, nonce, aad, ciphertext, tag) ⇒ Object
12 13 14 |
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 12 def xchacha20poly1305_aead_decrypt(key, nonce, aad, ciphertext, tag) raise NotImplementedError end |
#xchacha20poly1305_aead_encrypt(key, nonce, aad, plaintext) ⇒ Object
8 9 10 |
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 8 def xchacha20poly1305_aead_encrypt(key, nonce, aad, plaintext) raise NotImplementedError end |