X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fchild%2Fwebcrypto%2Falgorithm_registry.cc;h=7f674db0bbe7e68c3268f07b661203127d30bf3c;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=28e926f6c3fcdccf52115cb7c344298087edcd0f;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/child/webcrypto/algorithm_registry.cc b/src/content/child/webcrypto/algorithm_registry.cc index 28e926f..7f674db 100644 --- a/src/content/child/webcrypto/algorithm_registry.cc +++ b/src/content/child/webcrypto/algorithm_registry.cc @@ -26,7 +26,8 @@ class AlgorithmRegistry { aes_kw_(CreatePlatformAesKwImplementation()), hmac_(CreatePlatformHmacImplementation()), rsa_ssa_(CreatePlatformRsaSsaImplementation()), - rsa_oaep_(CreatePlatformRsaOaepImplementation()) { + rsa_oaep_(CreatePlatformRsaOaepImplementation()), + rsa_pss_(CreatePlatformRsaPssImplementation()) { PlatformInit(); } @@ -52,6 +53,8 @@ class AlgorithmRegistry { return rsa_ssa_.get(); case blink::WebCryptoAlgorithmIdRsaOaep: return rsa_oaep_.get(); + case blink::WebCryptoAlgorithmIdRsaPss: + return rsa_pss_.get(); default: return NULL; } @@ -66,6 +69,7 @@ class AlgorithmRegistry { const scoped_ptr hmac_; const scoped_ptr rsa_ssa_; const scoped_ptr rsa_oaep_; + const scoped_ptr rsa_pss_; }; } // namespace