Class: WSS4R::Security::Util::DigestFactory
- Inherits:
-
Object
- Object
- WSS4R::Security::Util::DigestFactory
- Defined in:
- lib/wss4r/security/util/transformer_factory.rb
Class Method Summary collapse
Class Method Details
.get_instance(type) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/wss4r/security/util/transformer_factory.rb', line 17 def DigestFactory::get_instance(type) case type when "http://www.w3.org/2000/09/xmldsig#sha1" return CryptHash.new() #OpenSSL::Digest::SHA1.new() else return CryptHash.new() #OpenSSL::Digest::SHA1.new() end end |