Sha256: f8f90a996d65f81ff304408d57e07802d71d5f5a4860479dd09c46911a5db3c0
Contents?: true
Size: 422 Bytes
Versions: 15
Compression:
Stored size: 422 Bytes
Contents
require 'saml/kit/crypto/oaep_cipher' require 'saml/kit/crypto/rsa_cipher' require 'saml/kit/crypto/simple_cipher' require 'saml/kit/crypto/unknown_cipher' module Saml module Kit module Crypto DECRYPTORS = [ SimpleCipher, RsaCipher, OaepCipher, UnknownCipher ] def self.decryptor_for(algorithm, key) DECRYPTORS.find { |x| x.matches?(algorithm) }.new(algorithm, key) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems