use of com.intel.mtwilson.agent.citrix.CitrixClient in project OpenAttestation by OpenAttestation.
the class CitrixAgentStrategy method getManifest.
@Override
public HashMap<String, ? extends IManifest> getManifest(TblHosts host) throws Exception {
String pcrList = getPcrList(host);
HostAgentFactory factory = new HostAgentFactory();
TlsPolicy tlsPolicy = factory.getTlsPolicy(host.getTlsPolicyName(), host.getTlsKeystoreResource());
CitrixClient client = new CitrixClient(new TlsConnection(host.getAddOnConnectionInfo(), tlsPolicy));
return client.getQuoteInformationForHost(pcrList);
}
Aggregations