com.safelayer.rap.impl.model.issuance.IssuancePutKeysRequestValue 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.security.PublicKey;
import java.util.HashMap;
import java.util.Map;
import com.safelayer.rap.api.model.issuance.IssuancePutKeysRequest;
public class IssuancePutKeysRequestValue implements IssuancePutKeysRequest {
private byte[] state;
private Map keys = new HashMap();
public IssuancePutKeysRequestValue(byte[] state) {
super();
this.state = state;
}
@Override
public Map getKeys() {
return keys;
}
public void addKey(String name, PublicKey value) {
keys.put(name, value);
}
@Override
public byte[] getState() {
return state;
}
}