| 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 26 matching lines...) Expand all Loading... |
| 37 #if WEBKIT_IMPLEMENTATION | 37 #if WEBKIT_IMPLEMENTATION |
| 38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 namespace WebKit { | 41 namespace WebKit { |
| 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 WebCryptoAlgorithmIdSha1, | 48 WebCryptoAlgorithmIdSha1, |
| 48 WebCryptoAlgorithmIdSha224, | 49 WebCryptoAlgorithmIdSha224, |
| 49 WebCryptoAlgorithmIdSha256, | 50 WebCryptoAlgorithmIdSha256, |
| 50 WebCryptoAlgorithmIdSha384, | 51 WebCryptoAlgorithmIdSha384, |
| 51 WebCryptoAlgorithmIdSha512, | 52 WebCryptoAlgorithmIdSha512, |
| 52 #if WEBKIT_IMPLEMENTATION | 53 #if WEBKIT_IMPLEMENTATION |
| 53 NumberOfWebCryptoAlgorithmId, | 54 NumberOfWebCryptoAlgorithmId, |
| 54 #endif | 55 #endif |
| 55 }; | 56 }; |
| 56 | 57 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 private: | 114 private: |
| 114 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); | 115 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); |
| 115 WEBKIT_EXPORT void reset(); | 116 WEBKIT_EXPORT void reset(); |
| 116 | 117 |
| 117 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; | 118 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace WebKit | 121 } // namespace WebKit |
| 121 | 122 |
| 122 #endif | 123 #endif |
| OLD | NEW |