Search in sources :

Example 1 with CitrixClient

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);
}
Also used : CitrixClient(com.intel.mtwilson.agent.citrix.CitrixClient) HostAgentFactory(com.intel.mtwilson.agent.HostAgentFactory) TlsConnection(com.intel.mtwilson.tls.TlsConnection) TlsPolicy(com.intel.mtwilson.tls.TlsPolicy)

Aggregations

HostAgentFactory (com.intel.mtwilson.agent.HostAgentFactory)1 CitrixClient (com.intel.mtwilson.agent.citrix.CitrixClient)1 TlsConnection (com.intel.mtwilson.tls.TlsConnection)1 TlsPolicy (com.intel.mtwilson.tls.TlsPolicy)1