public class SoftHsmCredentialConfiguration extends Object
Constructor and Description |
---|
SoftHsmCredentialConfiguration()
Constructor for the Soft HSM key credential.
|
SoftHsmCredentialConfiguration(String name,
String keyLocation,
String certLocation)
Constructor for the Soft HSM key credential.
|
Modifier and Type | Method and Description |
---|---|
String |
getCertLocation()
Getter for the credential certificate location.
|
String |
getKeyLocation()
Getter for the credential key location.
|
String |
getName()
Getter for the name of the credential key.
|
void |
setCertLocation(String certLocation)
Setter for the credential certificate location.
|
void |
setKeyLocation(String keyLocation)
Setter for credential key location.
|
void |
setName(String name)
Setter for the name of the credential key.
|
String |
toString() |
public SoftHsmCredentialConfiguration()
public SoftHsmCredentialConfiguration(String name, String keyLocation, String certLocation)
name
- the name of the key. This name will be part of the PKCS#11 provider name used to access the key through
Soft HSMkeyLocation
- the absolute path to a PEM encoded PKCS#8 keycertLocation
- the absolute path to a PEM encoded X509 certificate for the specified keypublic String getName()
public void setName(String name)
name
- the key namepublic String getKeyLocation()
public void setKeyLocation(String keyLocation)
keyLocation
- the credential key locationpublic String getCertLocation()
public void setCertLocation(String certLocation)
certLocation
- the credential certificate locationCopyright © 2018 Sweden Connect. All rights reserved.