| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 28 matching lines...) Expand all Loading... |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 enum WebCryptoAlgorithmId { | 43 enum WebCryptoAlgorithmId { |
| 44 WebCryptoAlgorithmIdAesCbc, | 44 WebCryptoAlgorithmIdAesCbc, |
| 45 WebCryptoAlgorithmIdHmac, | 45 WebCryptoAlgorithmIdHmac, |
| 46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5, | 46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5, |
| 47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5, | 47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5, |
| 48 WebCryptoAlgorithmIdSha1, | 48 WebCryptoAlgorithmIdSha1, |
| 49 WebCryptoAlgorithmIdSha224, // FIXME: Delete once no longer referenced by ch
romium. | |
| 50 WebCryptoAlgorithmIdSha256, | 49 WebCryptoAlgorithmIdSha256, |
| 51 WebCryptoAlgorithmIdSha384, | 50 WebCryptoAlgorithmIdSha384, |
| 52 WebCryptoAlgorithmIdSha512, | 51 WebCryptoAlgorithmIdSha512, |
| 53 WebCryptoAlgorithmIdAesGcm, | 52 WebCryptoAlgorithmIdAesGcm, |
| 54 WebCryptoAlgorithmIdRsaOaep, | 53 WebCryptoAlgorithmIdRsaOaep, |
| 55 WebCryptoAlgorithmIdAesCtr, | 54 WebCryptoAlgorithmIdAesCtr, |
| 56 WebCryptoAlgorithmIdAesKw, | 55 WebCryptoAlgorithmIdAesKw, |
| 57 #if INSIDE_BLINK | 56 #if INSIDE_BLINK |
| 58 NumberOfWebCryptoAlgorithmId, | 57 NumberOfWebCryptoAlgorithmId, |
| 59 #endif | 58 #endif |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 private: | 134 private: |
| 136 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other); | 135 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other); |
| 137 BLINK_PLATFORM_EXPORT void reset(); | 136 BLINK_PLATFORM_EXPORT void reset(); |
| 138 | 137 |
| 139 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; | 138 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; |
| 140 }; | 139 }; |
| 141 | 140 |
| 142 } // namespace blink | 141 } // namespace blink |
| 143 | 142 |
| 144 #endif | 143 #endif |
| OLD | NEW |