com.safelayer.rap.impl.model.issuance.IssuancePopPendingResponseValue 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.issuance.IssuancePopPendingResponse;
public class IssuancePopPendingResponseValue extends IssuanceResponseValue implements IssuancePopPendingResponse {
static public class KeyValue implements Key{
private ProofOfPossession pop;
public KeyValue(ProofOfPossession pop) {
this.pop = pop;
}
@Override
public ProofOfPossession getPop() {
return pop;
}
}
private Map tasks = new HashMap();
public IssuancePopPendingResponseValue() {
}
public Map getTasks() {
return tasks;
}
public void addProofOfPossession(String name, Key value) {
tasks.put(name, value);
}
}