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/** 6 * @fileoverview This provides the different message types for the gnubby 7 * operations. 8 */ 9 10var GnubbyMsgTypes = {}; 11 12/** 13 * Enroll request message type. 14 * @const 15 */ 16GnubbyMsgTypes.ENROLL_WEB_REQUEST = 'enroll_web_request'; 17 18/** 19 * Enroll reply message type. 20 * @const 21 */ 22GnubbyMsgTypes.ENROLL_WEB_REPLY = 'enroll_web_reply'; 23 24/** 25 * Enroll notification message type. 26 * @const 27 */ 28GnubbyMsgTypes.ENROLL_WEB_NOTIFICATION = 'enroll_web_notification'; 29 30/** 31 * Sign request message type. 32 * @const 33 */ 34GnubbyMsgTypes.SIGN_WEB_REQUEST = 'sign_web_request'; 35 36/** 37 * Sign reply message type. 38 * @const 39 */ 40GnubbyMsgTypes.SIGN_WEB_REPLY = 'sign_web_reply'; 41 42/** 43 * Sign notification message type. 44 * @const 45 */ 46GnubbyMsgTypes.SIGN_WEB_NOTIFICATION = 'sign_web_notification'; 47