Class: Saml::Kit::Crypto::UnknownCipher
- Inherits:
-
Object
- Object
- Saml::Kit::Crypto::UnknownCipher
- Defined in:
- lib/saml/kit/crypto/unknown_cipher.rb
Class Method Summary collapse
Instance Method Summary collapse
- #decrypt(cipher_text) ⇒ Object
-
#initialize(algorithm, key) ⇒ UnknownCipher
constructor
A new instance of UnknownCipher.
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
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 |