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

Unified Diff: chrome/browser/extensions/api/cast_channel/cast_channel.proto

Issue 254083007: Auth work to support new auth protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for ghost non-const parameter Created 6 years, 7 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
« no previous file with comments | « chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/cast_channel/cast_channel.proto
diff --git a/chrome/browser/extensions/api/cast_channel/cast_channel.proto b/chrome/browser/extensions/api/cast_channel/cast_channel.proto
index d321eaf8ad6c3a69b90fd5bbd436dcefe254e6ad..fd226541d5abdf22730b462ec9de946aa9b021d4 100644
--- a/chrome/browser/extensions/api/cast_channel/cast_channel.proto
+++ b/chrome/browser/extensions/api/cast_channel/cast_channel.proto
@@ -53,19 +53,31 @@ message CastMessage {
optional bytes payload_binary = 7;
}
+enum SignatureAlgorithm {
+ UNSPECIFIED = 0;
+ RSASSA_PKCS1v15 = 1;
+ RSASSA_PSS = 2;
+}
+
// Messages for authentication protocol between a sender and a receiver.
message AuthChallenge {
+ optional SignatureAlgorithm signature_algorithm = 1
+ [default = RSASSA_PKCS1v15];
}
message AuthResponse {
required bytes signature = 1;
required bytes client_auth_certificate = 2;
+ repeated bytes intermediate_certificate = 3;
+ optional SignatureAlgorithm signature_algorithm = 4
+ [default = RSASSA_PKCS1v15];
}
message AuthError {
enum ErrorType {
INTERNAL_ERROR = 0;
NO_TLS = 1; // The underlying connection is not TLS
+ SIGNATURE_ALGORITHM_UNAVAILABLE = 2;
}
required ErrorType error_type = 1;
}
« no previous file with comments | « chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698