Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: public/platform/WebCryptoAlgorithm.h

Issue 18033004: WebCrypto: Add WebKit API structure for keys. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/modules/modules.gypi ('k') | public/platform/WebCryptoKey.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/modules/modules.gypi ('k') | public/platform/WebCryptoKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698