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

Unified Diff: chrome/common/extensions/api/enterprise_platform_keys_internal.idl

Issue 847333004: Move parts from enterprise.platformKeysInternal to platformKeysInternal for reuse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_idl
Patch Set: Rebased. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/enterprise_platform_keys_internal.idl
diff --git a/chrome/common/extensions/api/enterprise_platform_keys_internal.idl b/chrome/common/extensions/api/enterprise_platform_keys_internal.idl
index 347f1a958d27d1f78d5121d3e32b5e0b268136ab..7d35f90f43710962b3f2b4559ac9c013865039d0 100644
--- a/chrome/common/extensions/api/enterprise_platform_keys_internal.idl
+++ b/chrome/common/extensions/api/enterprise_platform_keys_internal.idl
@@ -33,24 +33,5 @@ namespace enterprise.platformKeysInternal {
static void generateKey(DOMString tokenId,
long modulusLength,
GenerateKeyCallback callback);
-
- // Internal version of Token.sign.
- // |tokenId| The id of a Token returned by |getTokens|.
- // |publicKey| The Subject Public Key Info of a key previously generated by
- // |generateKey| in DER encoding.
- // |hashAlgorithmName| The recognized algorithm name as specified by
- // WebCrypto of the hash algorithm that will be used to digest |data|
- // before signing. Currently supported are: SHA-{1,256,384,512}.
- // TODO(pneubeck): use an enum once supported:
- // http://www.crbug.com/385539 .
- // |data| The data to sign.
- // |callback| Called back with the signature of |data|.
- // TODO: Instead of ArrayBuffer should be (ArrayBuffer or ArrayBufferView),
- // or at least (ArrayBuffer or Uint8Array).
- static void sign(DOMString tokenId,
- ArrayBuffer publicKey,
- DOMString hashAlgorithmName,
- ArrayBuffer data,
- SignCallback callback);
};
};
« no previous file with comments | « chrome/common/extensions/api/_api_features.json ('k') | chrome/common/extensions/api/platform_keys_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698