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

Instance Method Details

#__ruby__?Boolean

Returns:

  • (Boolean)


5
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 5

def __ruby__?; true; end

#__supported__?Boolean

Returns:

  • (Boolean)


6
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 6

def __supported__?; false; end

#xchacha20poly1305_aead_decrypt(key, nonce, aad, ciphertext, tag) ⇒ Object

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/jose/jwa/xchacha20poly1305_unsupported.rb', line 8

def xchacha20poly1305_aead_encrypt(key, nonce, aad, plaintext)
  raise NotImplementedError
end