Class: Saml::Kit::Crypto::UnknownCipher

Inherits:
Object
  • Object
show all
Defined in:
lib/saml/kit/crypto/unknown_cipher.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(algorithm, key) ⇒ UnknownCipher

Returns a new instance of UnknownCipher.



5
6
# File 'lib/saml/kit/crypto/unknown_cipher.rb', line 5

def initialize(algorithm, key)
end

Class Method Details

.matches?(algorithm) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/saml/kit/crypto/unknown_cipher.rb', line 8

def self.matches?(algorithm)
  true
end

Instance Method Details

#decrypt(cipher_text) ⇒ Object



12
13
14
# File 'lib/saml/kit/crypto/unknown_cipher.rb', line 12

def decrypt(cipher_text)
  cipher_text
end