public class MetadataGeneratorParameters extends Object
| Modifier and Type | Field and Description |
|---|---|
private File |
backChannelCert
The file with the certificate that TLS uses to 'sign'.
|
private String |
dnsName
The DNS name.
|
private File |
encryptionCert
The file with the certificate the IDP uses to encrypt.
|
private String |
entityID
The entityID.
|
private String |
scope
The scope.
|
private File |
signingCert
The file with the certificate the IDP uses to sign.
|
| Constructor and Description |
|---|
MetadataGeneratorParameters() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getBackchannelCert()
Get the string representation of the back channel cert.
|
private List<String> |
getCertificateContents(File file)
Open the file and return the contents and a list of lines.
|
String |
getDnsName()
Returns the dnsName.
|
List<String> |
getEncryptionCert()
Get the string representation of the encryption cert.
|
String |
getEntityID()
Returns the entityID.
|
String |
getScope()
Returns the scope.
|
List<String> |
getSigningCert()
Get the string representation of the signing cert.
|
void |
setBackchannelCert(File file)
Set the Backchannel Certificate file.
|
void |
setDnsName(String name)
Sets the dns name.
|
void |
setEncryptionCert(File file)
Set the encryption Certificate file.
|
void |
setEncryptionCertResource(org.springframework.core.io.Resource resource)
Set the encryption Certificate file.
|
void |
setEntityID(String id)
Sets the entityID.
|
void |
setScope(String value)
Sets the scope.
|
void |
setSigningCert(File file)
Set the signing Certificate file.
|
void |
setSigningCertResource(org.springframework.core.io.Resource resource)
Set the signing Certificate file.
|
private File encryptionCert
private File backChannelCert
private File signingCert
private String entityID
private String dnsName
private String scope
@Nullable public List<String> getEncryptionCert() throws IOException
IOException - if badness occurrspublic void setEncryptionCert(File file)
file - what to set.public void setEncryptionCertResource(org.springframework.core.io.Resource resource)
resource - what to set.@Nullable public List<String> getSigningCert() throws IOException
IOException - if badness occurrspublic void setSigningCert(File file)
file - what to set.public void setSigningCertResource(org.springframework.core.io.Resource resource)
resource - what to set.@Nullable public List<String> getBackchannelCert() throws IOException
IOException - if badness occurrspublic void setBackchannelCert(File file)
file - what to set.private List<String> getCertificateContents(File file) throws IOException
file - the fileIOException - if badness occurrs.public String getEntityID()
public void setEntityID(String id)
id - what to set.public String getDnsName()
public void setDnsName(String name)
name - what to set.public String getScope()
public void setScope(String value)
value - what to set.Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.