Module: JOSE::JWA::Curve25519_Unsupported

Extended by:
Curve25519_Unsupported
Included in:
Curve25519_Unsupported
Defined in:
lib/jose/jwa/curve25519_unsupported.rb

Instance Method Summary collapse

Instance Method Details

#__ruby__?Boolean

Returns:

  • (Boolean)

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

def __ruby__?; true; end

#__supported__?Boolean

Returns:

  • (Boolean)

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

def __supported__?; false; end

#ed25519_keypair(secret = nil) ⇒ Object

Raises:

  • (NotImplementedError)

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

def ed25519_keypair(secret = nil)
  raise NotImplementedError
end

#ed25519_secret_to_public(sk) ⇒ Object

Raises:

  • (NotImplementedError)

12
13
14
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 12

def ed25519_secret_to_public(sk)
  raise NotImplementedError
end

#ed25519_sign(m, sk) ⇒ Object

Raises:

  • (NotImplementedError)

16
17
18
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 16

def ed25519_sign(m, sk)
  raise NotImplementedError
end

#ed25519_verify(sig, m, pk) ⇒ Object

Raises:

  • (NotImplementedError)

20
21
22
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 20

def ed25519_verify(sig, m, pk)
  raise NotImplementedError
end

#ed25519ph_keypair(secret = nil) ⇒ Object

Raises:

  • (NotImplementedError)

24
25
26
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 24

def ed25519ph_keypair(secret = nil)
  raise NotImplementedError
end

#ed25519ph_secret_to_public(sk) ⇒ Object

Raises:

  • (NotImplementedError)

28
29
30
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 28

def ed25519ph_secret_to_public(sk)
  raise NotImplementedError
end

#ed25519ph_sign(m, sk) ⇒ Object

Raises:

  • (NotImplementedError)

32
33
34
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 32

def ed25519ph_sign(m, sk)
  raise NotImplementedError
end

#ed25519ph_verify(sig, m, pk) ⇒ Object

Raises:

  • (NotImplementedError)

36
37
38
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 36

def ed25519ph_verify(sig, m, pk)
  raise NotImplementedError
end

#x25519_keypair(secret = nil) ⇒ Object

Raises:

  • (NotImplementedError)

40
41
42
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 40

def x25519_keypair(secret = nil)
  raise NotImplementedError
end

#x25519_secret_to_public(sk) ⇒ Object

Raises:

  • (NotImplementedError)

44
45
46
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 44

def x25519_secret_to_public(sk)
  raise NotImplementedError
end

#x25519_shared_secret(pk, sk) ⇒ Object

Raises:

  • (NotImplementedError)

48
49
50
# File 'lib/jose/jwa/curve25519_unsupported.rb', line 48

def x25519_shared_secret(pk, sk)
  raise NotImplementedError
end