| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 case WebCryptoNamedCurveP521: | 199 case WebCryptoNamedCurveP521: |
| 200 dict->setString("namedCurve", "P-521"); | 200 dict->setString("namedCurve", "P-521"); |
| 201 break; | 201 break; |
| 202 } | 202 } |
| 203 } | 203 } |
| 204 | 204 |
| 205 private: | 205 private: |
| 206 const WebCryptoNamedCurve m_namedCurve; | 206 const WebCryptoNamedCurve m_namedCurve; |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 class WebCryptoPbkdf2KeyAlgorithmParams : public WebCryptoKeyAlgorithmParams { |
| 210 public: |
| 211 explicit WebCryptoPbkdf2KeyAlgorithmParams() { } |
| 212 virtual void writeToDictionary(WebCryptoKeyAlgorithmDictionary* dict) const |
| 213 { |
| 214 } |
| 215 }; |
| 209 } // namespace blink | 216 } // namespace blink |
| 210 | 217 |
| 211 #endif | 218 #endif |
| OLD | NEW |