com.safelayer.rap.impl.model.issuance.IssuancePutPopRequestValue 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.IssuancePutPopRequest;
public class IssuancePutPopRequestValue implements IssuancePutPopRequest{
private byte[] state;
private Map certificateSigningRequests = new HashMap();
public IssuancePutPopRequestValue(byte[] state) {
this.state = state;
}
@Override
public byte[] getState() {
return state;
}
@Override
public Map getProofOfPossessions() {
return certificateSigningRequests;
}
public void putPop(String name, byte[] value) {
certificateSigningRequests.put(name, value);
}
}