Module: Xml::Kit::Crypto

Defined in:
lib/xml/kit/crypto.rb,
lib/xml/kit/crypto/rsa_cipher.rb,
lib/xml/kit/crypto/oaep_cipher.rb,
lib/xml/kit/crypto/unknown_cipher.rb,
lib/xml/kit/crypto/symmetric_cipher.rb

Defined Under Namespace

Classes: BlockRegistry, OaepCipher, RsaCipher, SymmetricCipher, UnknownCipher

Constant Summary collapse

CIPHERS =
[SymmetricCipher, RsaCipher, OaepCipher, UnknownCipher].freeze

Class Method Summary collapse

Class Method Details

.cipher_registry(&block) ⇒ Object



18
19
20
# File 'lib/xml/kit/crypto.rb', line 18

def self.cipher_registry(&block)
  BlockRegistry.new(&block)
end