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

Side by Side Diff: content/child/webcrypto/openssl/rsa_ssa_openssl.cc

Issue 353043005: [webcrypto] Wire up {spki, pkcs8} import/export for OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of https://codereview.chromium.org/379383002/ Created 6 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/child/webcrypto/crypto_data.h"
6 #include "content/child/webcrypto/openssl/key_openssl.h"
7 #include "content/child/webcrypto/openssl/rsa_key_openssl.h"
8 #include "content/child/webcrypto/status.h"
9 #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h"
10
11 namespace content {
12
13 namespace webcrypto {
14
15 namespace {
16
17 class RsaSsaImplementation : public RsaHashedAlgorithm {
18 public:
19 RsaSsaImplementation()
20 : RsaHashedAlgorithm(blink::WebCryptoKeyUsageVerify,
21 blink::WebCryptoKeyUsageSign) {}
22
23 // TODO(eroman): Implement Sign() and Verify().
24 };
25
26 } // namespace
27
28 AlgorithmImplementation* CreatePlatformRsaSsaImplementation() {
29 return new RsaSsaImplementation;
30 }
31
32 } // namespace webcrypto
33
34 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698