com.safelayer.rap.impl.model.issuance.RegistrationParametersValue 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.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;
}
}