Search in sources :

Example 1 with GetTokenInfoAndKeyIdForCertRequestId

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;
}
Also used : TokenInfoAndKeyId(ee.ria.xroad.signer.protocol.dto.TokenInfoAndKeyId) GetTokenInfoAndKeyIdForCertRequestId(ee.ria.xroad.signer.protocol.message.GetTokenInfoAndKeyIdForCertRequestId)

Aggregations

TokenInfoAndKeyId (ee.ria.xroad.signer.protocol.dto.TokenInfoAndKeyId)1 GetTokenInfoAndKeyIdForCertRequestId (ee.ria.xroad.signer.protocol.message.GetTokenInfoAndKeyIdForCertRequestId)1