All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.safelayer.rap.impl.model.issuance.IssuancePutKeysRequestValue Maven / Gradle / Ivy

Go to download

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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy