throw new ASException(e);
}
}
public ClientRequestType getQuote(String nonce, String pcrList) throws PropertyException, JAXBException, UnknownHostException, IOException, KeyManagementException, NoSuchAlgorithmException {
QuoteRequest quoteRequest = new QuoteRequest();
quoteRequest.setPcrList(pcrList);
quoteRequest.setNonce(nonce);
this.data = getXml(quoteRequest).getBytes();
ClientRequestType clientRequestType = sendQuoteRequest();
log.info("Got quote from server");
return clientRequestType;
}