Package com.intel.mtwilson.datatypes

Examples of com.intel.mtwilson.datatypes.ManifestData


                                List<ManifestData> manifestList = null;

                                if (addManifest) {
                                        manifestList = new ArrayList<ManifestData>();
                                        for (TblPcrManifest pcrManifest : tblMle.getTblPcrManifestCollection()) {
                                                manifestList.add(new ManifestData(pcrManifest.getName(), pcrManifest.getValue()));
                                        }
                                }

                                String osName = (tblMle.getOsId() == null) ? null : tblMle.getOsId().getName();
                                String osVersion = (tblMle.getOsId() == null) ? null : tblMle.getOsId().getVersion();
View Full Code Here


                                   } */
                                  
                                   // In order to reuse the addPCRManifest function, we need to create a list and
                                   // add a single entry into it using the manifest data that we got.
                                   List<ManifestData> pcrWhiteList = new ArrayList<ManifestData>();
                                   pcrWhiteList.add(new ManifestData(pcrData.getPcrName(), pcrData.getPcrDigest()));

                                   // Now add the pcr to the database.
                                   addPcrManifest(tblMle, pcrWhiteList);
                                } catch (ASException ase) {
                                    throw ase;
View Full Code Here

  private static List<ManifestData> getApiClientManifestData(List<Map<String, String>> manifestList) {
    List<ManifestData> list = new ArrayList<ManifestData>();
    if (manifestList != null) {
      for (Map<String,String> map : manifestList) {
        list.add(new ManifestData(map.get("name"), map.get("value")));
      }
    }
    return list;
  }
View Full Code Here

TOP

Related Classes of com.intel.mtwilson.datatypes.ManifestData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.