com.safelayer.rap.impl.model.issuance.IssuanceKeysPendingResponseValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX
The newest version!
package com.safelayer.rap.impl.model.issuance;
import java.util.HashMap;
import java.util.Map;
import com.safelayer.rap.api.model.KeyTemplate;
import com.safelayer.rap.api.model.issuance.IssuanceKeysPendingResponse;
public class IssuanceKeysPendingResponseValue extends IssuanceResponseValue implements IssuanceKeysPendingResponse {
static public class CertificatesKeysPendingValue implements CertificatesKeysPending {
private KeyTemplate keyTemplate;
public CertificatesKeysPendingValue(KeyTemplate keyTemplate) {
this.keyTemplate = keyTemplate;
}
public KeyTemplate getKeyTemplate() {
return keyTemplate;
}
}
private Map tasks = new HashMap();
public IssuanceKeysPendingResponseValue() {
}
@Override
public Map getTasks() {
return tasks;
}
public void put(String id, CertificatesKeysPending key) {
tasks.put(id, key);
}
}