| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 return *this; | 84 return *this; |
| 85 } | 85 } |
| 86 | 86 |
| 87 WEBKIT_EXPORT WebCryptoAlgorithmId algorithmId() const; | 87 WEBKIT_EXPORT WebCryptoAlgorithmId algorithmId() const; |
| 88 WEBKIT_EXPORT const char* algorithmName() const; | 88 WEBKIT_EXPORT const char* algorithmName() const; |
| 89 | 89 |
| 90 WEBKIT_EXPORT WebCryptoAlgorithmParamsType paramsType() const; | 90 WEBKIT_EXPORT WebCryptoAlgorithmParamsType paramsType() const; |
| 91 | 91 |
| 92 // Retrieves the type-specific parameters. The algorithm contains at most 1 | 92 // Retrieves the type-specific parameters. The algorithm contains at most 1 |
| 93 // type of parameters. Retrieving an invalid parameter will return 0. | 93 // type of parameters. Retrieving an invalid parameter will return 0. |
| 94 WebCryptoAesCbcParams* aesCbcParams() const; | 94 WEBKIT_EXPORT WebCryptoAesCbcParams* aesCbcParams() const; |
| 95 WebCryptoAesKeyGenParams* aesKeyGenParams() const; | 95 WEBKIT_EXPORT WebCryptoAesKeyGenParams* aesKeyGenParams() const; |
| 96 | 96 |
| 97 private: | 97 private: |
| 98 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); | 98 WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other); |
| 99 WEBKIT_EXPORT void reset(); | 99 WEBKIT_EXPORT void reset(); |
| 100 | 100 |
| 101 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; | 101 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace WebKit | 104 } // namespace WebKit |
| 105 | 105 |
| 106 #endif | 106 #endif |
| OLD | NEW |