Home | History | Annotate | Download | only in cryptotoken
      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 Provides an interface to determine whether to request the
      7  * individual attestation certificate during enrollment.
      8  */
      9 'use strict';
     10 
     11 /**
     12  * Interface to determine whether to request the individual attestation
     13  * certificate during enrollment.
     14  * @interface
     15  */
     16 function IndividualAttestation() {}
     17 
     18 /**
     19  * @param {string} appIdHash The app id hash.
     20  * @return {boolean} Whether to request the individual attestation certificate
     21  *     for this app id.
     22  */
     23 IndividualAttestation.prototype.requestIndividualAttestation =
     24     function(appIdHash) {};
     25