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

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: Created 6 years, 8 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/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;
Ryan Sleevi 2014/04/30 01:32:13 Just to confirm, you can change this symbolic name
Munjal (Google) 2014/05/05 00:01:46 This is just a copy of the proto definition that i
mark a. foltz 2014/05/05 19:22:22 Only the value is sent on the wire so names can be
+}
+
// 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;
}

Powered by Google App Engine
This is Rietveld 408576698