use of ee.ria.xroad.signer.protocol.message.GetTokenInfoAndKeyIdForCertRequestId in project X-Road by nordic-institute.
the class SignerProxy method getTokenAndKeyIdForCertRequestId.
/**
* Get TokenInfoAndKeyId for a given cert hash
* @param certRequestId
* @return TokenInfoAndKeyId
* @throws Exception
*/
public static TokenInfoAndKeyId getTokenAndKeyIdForCertRequestId(String certRequestId) throws Exception {
log.trace("Getting token and key id by cert request id '{}'", certRequestId);
TokenInfoAndKeyId response = execute(new GetTokenInfoAndKeyIdForCertRequestId(certRequestId));
log.trace("Token and key id with cert request id '{}' found", certRequestId);
return response;
}
Aggregations