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

com.safelayer.rap.impl.model.issuance.RegistrationParametersValue 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.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.safelayer.rap.api.model.UserInfo;
import com.safelayer.rap.api.model.issuance.RegistrationParameters;
import com.safelayer.rap.impl.model.UserInfoValue;

@SuppressWarnings("serial")
public class RegistrationParametersValue  implements RegistrationParameters, Serializable {

	private UserInfo userInfo = new UserInfoValue();
	private Map parameters = new HashMap();
	
	
	public RegistrationParametersValue(UserInfo userInfo, Map parameters) {
		this.userInfo = userInfo;
		this.parameters = parameters;
	}
	
	
	public RegistrationParametersValue() {
	}

	public RegistrationParametersValue( RegistrationParameters other ) {
		parameters = other.getParameters();
		userInfo = other.getUserInfo();
	}

	@Override
	public Map getParameters() {
		return parameters;
	}

	@Override
	public UserInfo getUserInfo() {
		return userInfo;
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy