Package com.intel.mountwilson.as.helper

Examples of com.intel.mountwilson.as.helper.TrustAgentSecureClient


            log.debug("getQuoteInformationForHost called with intel connection string: {}", connectionString);
            connectionString = connectionString.substring(6);
        }       
             
             
            TrustAgentSecureClient client = new TrustAgentSecureClient(new TlsConnection(connectionString, tlsPolicy));
//                IntelHostAgent agent = new IntelHostAgent(client, new InternetAddress(tblHosts.getIPAddress().toString()));
               
           
            HashMap<String, PcrManifest> pcrMap = getQuoteInformationForHost( tblHosts.getIPAddress(), client,  pcrList);
View Full Code Here


*/
public class IntelClientFactory extends BaseKeyedPoolableObjectFactory<TlsConnection,TrustAgentSecureClient> {
   
    @Override
    public TrustAgentSecureClient makeObject(TlsConnection tlsConnection) throws Exception {
        TrustAgentSecureClient client = new TrustAgentSecureClient(tlsConnection); // client has to parse the string to get ip address and port for trust agent.
        return client;
    }
View Full Code Here

    private Logger log = LoggerFactory.getLogger(getClass());
   
    @Override
    public IntelHostAgent getHostAgent(InternetAddress hostAddress, String vendorConnectionString, TlsPolicy tlsPolicy) throws IOException {
        try {
            TrustAgentSecureClient client = new TrustAgentSecureClient(new TlsConnection(vendorConnectionString, tlsPolicy));
            log.debug("Creating IntelHostAgent for host {} with connection string {}", hostAddress, vendorConnectionString);
            return new IntelHostAgent(client, hostAddress);
        }
        catch(Exception e) {
            throw new IOException("Cannot get trust agent client for host: "+hostAddress.toString()+": "+e.toString());
View Full Code Here

TOP

Related Classes of com.intel.mountwilson.as.helper.TrustAgentSecureClient

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.